Complete Exceptional Signal Handler Implementation + Fix More Destruction Behavior

This commit is contained in:
◱ PixelyIon
2020-11-17 06:18:41 +05:30
committed by ◱ PixelyIon
parent 8bf08ed66f
commit d155e9cd71
21 changed files with 231 additions and 135 deletions

View File

@ -101,11 +101,11 @@ namespace skyline::gpu::gpfifo {
if (e.signal != SIGINT) {
state.logger->Write(Logger::LogLevel::Error, e.what());
signal::BlockSignal({SIGINT});
state.process->mainThread->Kill(false);
state.process->Kill(false);
}
} catch (const std::exception &e) {
state.logger->Write(Logger::LogLevel::Error, e.what());
state.process->mainThread->Kill(false);
state.process->Kill(false);
}
}