mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add more cancellation
This commit is contained in:
parent
81a02c6e64
commit
c110749434
1 changed files with 2 additions and 1 deletions
|
|
@ -449,7 +449,8 @@ namespace Flow.Launcher.ViewModel
|
|||
if (!plugin.Metadata.Disabled)
|
||||
{
|
||||
var results = PluginManager.QueryForPlugin(plugin, query);
|
||||
_resultsUpdateQueue.Post(new ResultsForUpdate(results, plugin.Metadata, query, currentCancellationToken));
|
||||
if (!currentCancellationToken.IsCancellationRequested)
|
||||
_resultsUpdateQueue.Post(new ResultsForUpdate(results, plugin.Metadata, query, currentCancellationToken));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue