|
|
@ -121,13 +121,13 @@ public: |
|
|
|
void sigintHandler(int) { |
|
|
|
void sigintHandler(int) { |
|
|
|
signal(SIGINT, 0); |
|
|
|
signal(SIGINT, 0); |
|
|
|
qDebug("Catching SIGINT, exiting cleanly"); |
|
|
|
qDebug("Catching SIGINT, exiting cleanly"); |
|
|
|
app->exit(); |
|
|
|
qApp->exit(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void sigtermHandler(int) { |
|
|
|
void sigtermHandler(int) { |
|
|
|
signal(SIGTERM, 0); |
|
|
|
signal(SIGTERM, 0); |
|
|
|
qDebug("Catching SIGTERM, exiting cleanly"); |
|
|
|
qDebug("Catching SIGTERM, exiting cleanly"); |
|
|
|
app->exit(); |
|
|
|
qApp->exit(); |
|
|
|
} |
|
|
|
} |
|
|
|
void sigsegvHandler(int) { |
|
|
|
void sigsegvHandler(int) { |
|
|
|
signal(SIGABRT, 0); |
|
|
|
signal(SIGABRT, 0); |
|
|
|