diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-11-25 12:42:28 +0100 |
---|---|---|
committer | Holger Freyther <holger+qt@freyther.de> | 2017-11-29 02:13:28 +0000 |
commit | 163764be406dd6f64dbd4affd6c294359f00501e (patch) | |
tree | ae381fcc9049b69686cbb9838639cf5fa09c7894 /tradeshow/iot-sensortag | |
parent | f73fdd97d4bf70b02aac4c0b680a51e632f732eb (diff) |
democompositor: Introduce a graceful stop of a client application
Use SIGTERM to terminate the application but to make sure it will
go away create a unique timer and start it. The timer is owned by
the QProcess and will go away once the process has terminated. On
timeout use SIGKILL to make sure the process is going away.
Change-Id: I9f9617a579952697aa61bd7bfa1d2fd264a443ce
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag')
0 files changed, 0 insertions, 0 deletions