This commit is contained in:
Nav
2022-05-23 23:50:10 +01:00
parent 33da17e393
commit abfd47dc9c
3 changed files with 18 additions and 12 deletions

View File

@@ -375,9 +375,9 @@ namespace Bloom
}
void Application::stopSignalHandler() {
if (this->signalHandler.getThreadState() != ThreadState::STOPPED
&& this->signalHandler.getThreadState() != ThreadState::UNINITIALISED
) {
const auto shThreadState = this->signalHandler.getThreadState();
if (shThreadState != ThreadState::STOPPED && shThreadState != ThreadState::UNINITIALISED) {
this->signalHandler.triggerShutdown();
/*