From: Latif Khalifa Date: Sun, 27 Sep 2009 15:02:48 +0000 (+0000) Subject: Don't catch exceptions in debug mode. X-Git-Tag: release-1.9~57 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=75686560af222adf8b761f1007eb4a87dcd831e2;p=radegast%2Fradegast.git Don't catch exceptions in debug mode. git-svn-id: https://radegast.googlecode.com/svn/trunk@273 f7a694da-4d33-11de-9ad6-1127a62b9fcd --- diff --git a/Radegast/Core/RadegastInstance.cs b/Radegast/Core/RadegastInstance.cs index bfeeeca..a285e97 100644 --- a/Radegast/Core/RadegastInstance.cs +++ b/Radegast/Core/RadegastInstance.cs @@ -151,8 +151,10 @@ namespace Radegast { // incase something else calls GlobalInstance while we are loading globalInstance = this; +#if !DEBUG Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += HandleThreadException; +#endif client = client0; // Are we running mono?