summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-02-16 20:24:49 +0000
committersr55 <[email protected]>2012-02-16 20:24:49 +0000
commit9b2e288a4d9a071e8d1ceee99998a45c45108cf4 (patch)
tree71a69827ce91da5638ad8b48b69a318cd481979f
parent1d8bc5dd7d36da0167e572762b6f20db20289012 (diff)
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
-rw-r--r--win/CS/Program.cs3
1 files changed, 1 insertions, 2 deletions
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;