Don't catch SIGQUIT and SIGTERM

Give a way to quickly force quit. Catching SIGTERM also causes problems
with the live-reload script.
This commit is contained in:
miruka 2020-07-24 00:45:58 -04:00
parent 3a7ad5859f
commit 872ee49a79

View File

@ -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