mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +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
|
||||
// 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