Skip to content

Commit caa07ec

Browse files
committed
Add exception handling to async void event callback
1 parent 6084493 commit caa07ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,10 @@ uint dwmsEventTime
595595
}
596596
}
597597
}
598+
catch (System.Exception ex)
599+
{
600+
Log.Exception(ClassName, "Failed to invoke ForegroundChangeCallback", ex);
601+
}
598602
finally
599603
{
600604
_foregroundChangeLock.Release();

0 commit comments

Comments
 (0)