diff --git a/source/window/window.cpp b/source/window/window.cpp index 0f67c9ace..2efcd4bb7 100644 --- a/source/window/window.cpp +++ b/source/window/window.cpp @@ -241,7 +241,9 @@ namespace hex { auto signalHandler = [](int signalNumber) { EventManager::post(signalNumber); - std::raise(SIGABRT); + // Let's not loop on this... + std::signal(signalNumber, nullptr); + std::raise(signalNumber); }; std::signal(SIGTERM, signalHandler);