mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
fix kill/terminate order
This commit is contained in:
parent
23c44500d8
commit
9f1cb2a4e5
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ void AssignmentClientMonitor::stopChildProcesses() {
|
|||
QMutableListIterator<QProcess*> i(_childProcesses);
|
||||
while (i.hasNext()) {
|
||||
QProcess* childProcess = i.next();
|
||||
childProcess->kill();
|
||||
childProcess->terminate();
|
||||
}
|
||||
|
||||
// try to give all the children time to shutdown
|
||||
|
@ -108,7 +108,7 @@ void AssignmentClientMonitor::stopChildProcesses() {
|
|||
QMutableListIterator<QProcess*> j(_childProcesses);
|
||||
while (j.hasNext()) {
|
||||
QProcess* childProcess = j.next();
|
||||
childProcess->terminate();
|
||||
childProcess->kill();
|
||||
}
|
||||
|
||||
waitOnChildren(WAIT_FOR_CHILD_MSECS);
|
||||
|
|
Loading…
Reference in a new issue