From 9b2e288a4d9a071e8d1ceee99998a45c45108cf4 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 16 Feb 2012 20:24:49 +0000 Subject: WinGui: Undo the change to use internal exception handling as they will always be unhandled causing the app to close, even for minor problems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4450 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'win/CS') diff --git a/win/CS/Program.cs b/win/CS/Program.cs index fca7b0217..ac35ed952 100644 --- a/win/CS/Program.cs +++ b/win/CS/Program.cs @@ -35,8 +35,7 @@ namespace Handbrake // Handle any unhandled exceptions AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException; - Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); - + // Check that HandBrakeCLI is availabl. string failedInstall = "HandBrake is not installed properly. Please reinstall HandBrake. \n\n"; string missingFiles = string.Empty; -- cgit v1.2.3