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:
Luboš Luňák 2008-03-07 19:54:11 +00:00
parent de09d00e33
commit a3d931a84b

View file

@ -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 );
} }