Skip to content

Commit 1e3c96e

Browse files
author
Rainer Keller
committed
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 <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
1 parent 77a7982 commit 1e3c96e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

process.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ void Process::stop()
261261
if (kill(mDebuggee, SIGKILL) != 0)
262262
perror("Could not kill debugee");
263263
}
264-
if (kill(-getpid(), SIGTERM) != 0)
265-
perror("Could not kill process group");
266264

267265
mProcess->terminate();
268266
if (!mProcess->waitForFinished())

0 commit comments

Comments
 (0)