mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
Merge pull request #4358 from huffman/handle-sigint
Add SIGINT handling to assignment-client
This commit is contained in:
commit
a2d8f89426
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ ShutdownEventListener::ShutdownEventListener(QObject* parent) :
|
||||||
#ifndef Q_OS_WIN
|
#ifndef Q_OS_WIN
|
||||||
// be a signal handler for SIGTERM so we can stop our children when we get it
|
// be a signal handler for SIGTERM so we can stop our children when we get it
|
||||||
signal(SIGTERM, signalHandler);
|
signal(SIGTERM, signalHandler);
|
||||||
|
signal(SIGINT, signalHandler);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue