do not block waiting for the kill_helper to be gone, otherwise
kwin gets stuck BUG: 156998 svn path=/trunk/KDE/kdebase/workspace/; revision=819519
This commit is contained in:
parent
08d1c58efa
commit
5079d9f1a5
1 changed files with 4 additions and 1 deletions
|
@ -1114,7 +1114,10 @@ void Client::gotPing( Time timestamp )
|
||||||
if( process_killer != NULL )
|
if( process_killer != NULL )
|
||||||
{
|
{
|
||||||
process_killer->kill();
|
process_killer->kill();
|
||||||
delete process_killer;
|
// recycle when the process manager has noticed that the process exited
|
||||||
|
// a delete process_killer here sometimes causes a hang in waitForFinished
|
||||||
|
connect(process_killer, SIGNAL(finished(int, QProcess::ExitStatus)), process_killer,
|
||||||
|
SLOT(deleteLater()));
|
||||||
process_killer = NULL;
|
process_killer = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue