This commit is contained in:
@@ -18,7 +18,7 @@ namespace ShanghaiEnvironmentalTechnology
|
||||
// 捕获任务线程异常
|
||||
System.Threading.Tasks.TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;
|
||||
}
|
||||
|
||||
|
||||
private void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
|
||||
{
|
||||
LogError(e.Exception, "UI线程异常");
|
||||
|
||||
Reference in New Issue
Block a user