From aba8fc834145cdd59389f630d3b54a73bcb00460 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Mon, 20 Jun 2022 22:24:11 +0200 Subject: [PATCH] Fix shutdown freeze --- src/common/cxbxr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/cxbxr.cpp b/src/common/cxbxr.cpp index c82364da3..50e651069 100644 --- a/src/common/cxbxr.cpp +++ b/src/common/cxbxr.cpp @@ -105,8 +105,9 @@ bool HandleFirstLaunch() g_InputDeviceManager.Shutdown(); #ifdef CXBXR_EMU + // NOTE: this code causes freezes/crashes at shutdown, so avoid for now // This is very important process to prevent false positive report and allow IDEs to continue debug multiple reboots. - CxbxrKrnlSuspendThreads(); + //CxbxrKrnlSuspendThreads(); if (g_io_mu_metadata) { delete g_io_mu_metadata;