shanji 2 years ago
parent
commit
52476a10c7
  1. 6
      BBWYB.Client/App.xaml.cs

6
BBWYB.Client/App.xaml.cs

@ -50,9 +50,9 @@ namespace BBWYB.Client
gl.UserToken = userToken;
#region 注册全局异常
this.DispatcherUnhandledException += App_DispatcherUnhandledException; ;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; ;
TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException; ;
this.DispatcherUnhandledException += App_DispatcherUnhandledException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;
#endregion

Loading…
Cancel
Save