mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Async is hard.
Not sure exactly why the previous version was not working, but i _assume_ it's because I was in a deadlock on that semaphore.
This commit is contained in:
parent
94b841d341
commit
ac3c955539
1 changed files with 1 additions and 3 deletions
|
|
@ -178,9 +178,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.Everything
|
|||
try
|
||||
{
|
||||
await _semaphore.WaitAsync(TimeSpan.FromSeconds(1));
|
||||
|
||||
if (await IsEverythingRunningAsync())
|
||||
_ = EverythingApiDllImport.Everything_IncRunCountFromFileName(fileOrFolder);
|
||||
_ = EverythingApiDllImport.Everything_IncRunCountFromFileName(fileOrFolder);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue