mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Waiting on a semaphore must be outside of try
This commit is contained in:
parent
7d6d0258d0
commit
9bc6a4e072
1 changed files with 1 additions and 1 deletions
|
|
@ -184,9 +184,9 @@ namespace Flow.Launcher.Plugin.Explorer.Search.Everything
|
|||
|
||||
public static async Task IncrementRunCounterAsync(string fileOrFolder)
|
||||
{
|
||||
await _semaphore.WaitAsync(TimeSpan.FromSeconds(1));
|
||||
try
|
||||
{
|
||||
await _semaphore.WaitAsync(TimeSpan.FromSeconds(1));
|
||||
_ = EverythingApiDllImport.Everything_IncRunCountFromFileName(fileOrFolder);
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
|||
Loading…
Reference in a new issue