mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove debug codes
This commit is contained in:
parent
6a964b031a
commit
63b27ae844
1 changed files with 0 additions and 13 deletions
|
|
@ -1150,9 +1150,6 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, bool reSelect = true)
|
||||
{
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine("!!!QueryResults");
|
||||
|
||||
_updateSource?.Cancel();
|
||||
|
||||
var query = ConstructQuery(QueryText, Settings.CustomShortcuts, Settings.BuiltinShortcuts);
|
||||
|
|
@ -1233,8 +1230,6 @@ namespace Flow.Launcher.ViewModel
|
|||
true => Task.CompletedTask
|
||||
}).ToArray();
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.Write($"!!!Querying {query.RawQuery}: search delay {searchDelay}");
|
||||
foreach (var plugin in plugins)
|
||||
{
|
||||
if (!plugin.Metadata.Disabled)
|
||||
|
|
@ -1281,14 +1276,8 @@ namespace Flow.Launcher.ViewModel
|
|||
_ => 150
|
||||
};
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine($"!!!{plugin.Metadata.Name} Waiting {searchDelayTime} ms");
|
||||
|
||||
await Task.Delay(searchDelayTime, token);
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine($"!!!{plugin.Metadata.Name} Waited {searchDelayTime} ms");
|
||||
|
||||
if (token.IsCancellationRequested)
|
||||
return;
|
||||
}
|
||||
|
|
@ -1297,8 +1286,6 @@ namespace Flow.Launcher.ViewModel
|
|||
// Task.Yield will force it to run in ThreadPool
|
||||
await Task.Yield();
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine($"!!!{query.RawQuery} Querying {plugin.Metadata.Name}");
|
||||
IReadOnlyList<Result> results =
|
||||
await PluginManager.QueryForPluginAsync(plugin, query, token);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue