Improve code quality

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Jack Ye 2026-03-10 12:20:45 +08:00 committed by GitHub
parent a12645df30
commit 95fc3eb489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,8 @@ public static class DispatcherHelper
}
else
{
await await dispatcher.InvokeAsync(func, priority);
var task = await dispatcher.InvokeAsync(func, priority);
await task;
}
}
}