mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:23:57 +02:00
Add SIGINT handling to assignment-client
This commit is contained in:
parent
9eee213bce
commit
11efcd70d8
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ ShutdownEventListener::ShutdownEventListener(QObject* parent) :
|
|||
#ifndef Q_OS_WIN
|
||||
// be a signal handler for SIGTERM so we can stop our children when we get it
|
||||
signal(SIGTERM, signalHandler);
|
||||
signal(SIGINT, signalHandler);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue