From 872ee49a796ad2f74153013fe0b8f6f665e3d4f2 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 24 Jul 2020 00:45:58 -0400 Subject: [PATCH] Don't catch SIGQUIT and SIGTERM Give a way to quickly force quit. Catching SIGTERM also causes problems with the live-reload script. --- src/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f56b9832..f6e5e450 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -99,9 +99,7 @@ int main(int argc, char *argv[]) { // Register handlers for quit signals, e.g. SIGINT/Ctrl-C in unix terminals signal(SIGINT, onExitSignal); - signal(SIGTERM, onExitSignal); #ifdef Q_OS_UNIX - signal(SIGQUIT, onExitSignal); signal(SIGHUP, onExitSignal); #endif