mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
set threadscope for catching more exceptions on other threads
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2094 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -128,7 +128,7 @@ namespace ProcessHacker
|
||||
// Setup exception handling at first opportunity to catch exceptions generatable anywhere.
|
||||
Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException);
|
||||
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
|
||||
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException, true);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user