mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-23 11:00:48 +02:00
Makes sure the TestHarnessRunner also hits the shutdown path
This commit is contained in:
1 parent
a1f4ca873c
commit
29083a0b41
1 file changed
+11
@@ -142,7 +142,18 @@ int main(int argc, char **argv, char **const envp) {
|
||||
LogMan::Msg::I("Faulted? %s", DidFault ? "Yes" : "No");
|
||||
LogMan::Msg::I("Passed? %s", Passed ? "Yes" : "No");
|
||||
|
||||
SyscallHandler.reset();
|
||||
SignalDelegation.reset();
|
||||
|
||||
FEXCore::Context::DestroyContext(CTX);
|
||||
FEXCore::Context::ShutdownStaticTables();
|
||||
|
||||
FEXCore::Config::Shutdown();
|
||||
|
||||
LogMan::Throw::UnInstallHandlers();
|
||||
LogMan::Msg::UnInstallHandlers();
|
||||
|
||||
FEXCore::Allocator::ClearHooks();
|
||||
|
||||
return Passed ? 0 : -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user