Skip to content

Commit

Permalink
Update ExceptionlessWpfExtensions.cs
Browse files Browse the repository at this point in the history
Saving...
  • Loading branch information
PhyxionNL authored and ejsmith committed Feb 19, 2020
1 parent 45ea700 commit 1f4da21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Platforms/Exceptionless.Wpf/ExceptionlessWpfExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public static void Register(this ExceptionlessClient client, bool showDialog = t
client.Configuration.AddPlugin<SetEnvironmentUserPlugin>();
client.Startup();

client.RegisterApplicationThreadExceptionHandler();
client.RegisterApplicationDispatcherUnhandledExceptionHandler();

if (!showDialog)
Expand All @@ -40,7 +39,6 @@ public static void Unregister(this ExceptionlessClient client) {
throw new ArgumentNullException(nameof(client));

client.Shutdown();
client.UnregisterApplicationThreadExceptionHandler();
client.UnregisterApplicationDispatcherUnhandledExceptionHandler();

client.SubmittingEvent -= OnSubmittingEvent;
Expand Down

0 comments on commit 1f4da21

Please sign in to comment.