From 90f7b5259b0d688c9f5d00035ade9db3f8d33764 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Tue, 28 Mar 2017 22:30:55 +0100 Subject: [PATCH] Remove first chance exception Remove first chance exception, it crash the app frequently when squirrel throw/catch exception internally. --- Wox/App.xaml.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 012f2be7e9..7431a0fc72 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -140,8 +140,6 @@ namespace Wox private static void RegisterAppDomainExceptions() { AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle; - AppDomain.CurrentDomain.FirstChanceException += - (s, e) => { Log.Exception("|App.RegisterAppDomainExceptions|First Chance Exception:", e.Exception); }; } public void Dispose()