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:
parent
3a7ad5859f
commit
872ee49a79
|
@ -99,9 +99,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
// Register handlers for quit signals, e.g. SIGINT/Ctrl-C in unix terminals
|
// Register handlers for quit signals, e.g. SIGINT/Ctrl-C in unix terminals
|
||||||
signal(SIGINT, onExitSignal);
|
signal(SIGINT, onExitSignal);
|
||||||
signal(SIGTERM, onExitSignal);
|
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
signal(SIGQUIT, onExitSignal);
|
|
||||||
signal(SIGHUP, onExitSignal);
|
signal(SIGHUP, onExitSignal);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user