Improve code comments

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jack Ye 2025-04-12 14:36:43 +08:00 committed by GitHub
parent 5045f19ebe
commit 5bafe23971
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,8 +36,7 @@ public static class ErrorReporting
{
//handle unobserved task exceptions
Application.Current.Dispatcher.Invoke(() => Report(e.Exception));
//prevent application exist, so the user can copy prompted error info
e.SetObserved();
//prevent application exit, so the user can copy the prompted error info
}
public static string RuntimeInfo()