From b61492ca305f7c46a63ad68c14a85b3931c9c9df Mon Sep 17 00:00:00 2001 From: eladash Date: Mon, 28 Jan 2019 12:46:32 +0200 Subject: [PATCH] Dont call std::terminate() after normal access violation handling --- Utilities/Thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 5b03f6b5f0..355e29df4a 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -1123,7 +1123,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context) g_tls_fault_rsx++; if (cpu && cpu->test_stopped()) { - std::terminate(); + // } return true; @@ -1265,7 +1265,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context) { if (cpu && cpu->test_stopped()) { - std::terminate(); + // } return true;