diff options
author | Rainer Keller <rainer.keller@theqtcompany.com> | 2016-03-09 14:59:48 +0100 |
---|---|---|
committer | Rainer Keller <rainer.keller@theqtcompany.com> | 2016-03-09 15:14:00 +0000 |
commit | 1e3c96e0e4f28a072c835775f7fdc310eb3b4f28 (patch) | |
tree | 5fc4991228d3f80c11459935bef2a004e27978b1 | |
parent | 77a798298ffc8db5ecf6e40e8b371426fa025dcb (diff) |
Do not kill the process group
When restarting an application the process seems to kill itself.
Task-number: QTEE-1085
Change-Id: I88598fe4bd6ed5423c1412036eaf1ea1572bc889
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
-rw-r--r-- | process.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/process.cpp b/process.cpp index 2ee9246..451e1f8 100644 --- a/process.cpp +++ b/process.cpp @@ -261,8 +261,6 @@ void Process::stop() if (kill(mDebuggee, SIGKILL) != 0) perror("Could not kill debugee"); } - if (kill(-getpid(), SIGTERM) != 0) - perror("Could not kill process group"); mProcess->terminate(); if (!mProcess->waitForFinished()) |