QObject: Do not delete object, 'unnamed', during its event handler!
BUG: 156998 svn path=/trunk/KDE/kdebase/workspace/; revision=783314
This commit is contained in:
parent
de09d00e33
commit
a3d931a84b
1 changed files with 1 additions and 1 deletions
|
@ -1089,7 +1089,7 @@ void Client::gotPing( Time timestamp )
|
||||||
void Client::pingTimeout()
|
void Client::pingTimeout()
|
||||||
{
|
{
|
||||||
kDebug( 1212 ) << "Ping timeout:" << caption();
|
kDebug( 1212 ) << "Ping timeout:" << caption();
|
||||||
delete ping_timer;
|
ping_timer->deleteLater();
|
||||||
ping_timer = NULL;
|
ping_timer = NULL;
|
||||||
killProcess( true, ping_timestamp );
|
killProcess( true, ping_timestamp );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue