From 67a45203e3dd76f8bc0c1ef642ef71f97ce8cac6 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sat, 28 Nov 2015 18:50:06 -0600 Subject: [PATCH] Uninstall the X64 backend exception callback on exit. --- src/xenia/cpu/backend/x64/x64_backend.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xenia/cpu/backend/x64/x64_backend.cc b/src/xenia/cpu/backend/x64/x64_backend.cc index 021fe4a13..ba14811e0 100644 --- a/src/xenia/cpu/backend/x64/x64_backend.cc +++ b/src/xenia/cpu/backend/x64/x64_backend.cc @@ -46,6 +46,8 @@ X64Backend::~X64Backend() { processor()->memory()->SystemHeapFree(emitter_data_); emitter_data_ = 0; } + + ExceptionHandler::Uninstall(&ExceptionCallbackThunk, this); } bool X64Backend::Initialize() {