mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
use waitOnChildren again from checkSpares
This commit is contained in:
parent
ba2ccc1e98
commit
83cd50c7ae
1 changed files with 1 additions and 8 deletions
|
@ -193,14 +193,7 @@ void AssignmentClientMonitor::checkSpares() {
|
|||
}
|
||||
|
||||
// check if any of the previous processes have now gone down
|
||||
QMutableListIterator<QProcess*> i(_childProcesses);
|
||||
while (i.hasNext()) {
|
||||
QProcess* childProcess = i.next();
|
||||
|
||||
if (childProcess->state() == QProcess::NotRunning) {
|
||||
i.remove();
|
||||
}
|
||||
}
|
||||
waitOnChildren(0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue