Merge branch 'master' into jgrpp

This commit is contained in:
Jonathan G Rennison
2020-06-01 20:39:46 +01:00
27 changed files with 363 additions and 17 deletions

View File

@@ -617,6 +617,9 @@ void *_safe_esp = nullptr;
static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
{
/* Disable our event loop. */
SetWindowLongPtr(GetActiveWindow(), GWLP_WNDPROC, (LONG_PTR)&DefWindowProc);
if (CrashLogWindows::current != nullptr) {
CrashLog::AfterCrashLogCleanup();
ExitProcess(2);