Uninstall the X64 backend exception callback on exit.

This commit is contained in:
Dr. Chat 2015-11-28 18:50:06 -06:00 committed by Ben Vanik
parent 62351a62de
commit 67a45203e3
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ X64Backend::~X64Backend() {
processor()->memory()->SystemHeapFree(emitter_data_);
emitter_data_ = 0;
}
ExceptionHandler::Uninstall(&ExceptionCallbackThunk, this);
}
bool X64Backend::Initialize() {