Skip to content

Commit 95fc3eb

Browse files
Improve code quality
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent a12645d commit 95fc3eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Flow.Launcher.Core/Resource/DispatcherHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public static async Task InvokeAsync(Dispatcher dispatcher, Func<Task> func, Dis
9595
}
9696
else
9797
{
98-
await await dispatcher.InvokeAsync(func, priority);
98+
var task = await dispatcher.InvokeAsync(func, priority);
99+
await task;
99100
}
100101
}
101102
}

0 commit comments

Comments
 (0)