mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix results view update task dispose issue
This commit is contained in:
parent
334a27fc28
commit
1d1909c514
1 changed files with 4 additions and 1 deletions
|
|
@ -1564,7 +1564,10 @@ namespace Flow.Launcher.ViewModel
|
||||||
{
|
{
|
||||||
_updateSource?.Dispose();
|
_updateSource?.Dispose();
|
||||||
_resultsUpdateChannelWriter?.Complete();
|
_resultsUpdateChannelWriter?.Complete();
|
||||||
_resultsViewUpdateTask?.Dispose();
|
if (_resultsViewUpdateTask?.IsCompleted == true)
|
||||||
|
{
|
||||||
|
_resultsViewUpdateTask.Dispose();
|
||||||
|
}
|
||||||
_disposed = true;
|
_disposed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue