This commit is contained in:
Jeff Hill
2001-10-01 18:11:33 +00:00
parent 34b5548ef1
commit 1220439a85

View File

@@ -123,8 +123,8 @@ void timer::privateCancel ()
{
while ( true ) {
if ( this->curState == statePending ) {
if ( this->queue.timerList.first() == this ) {
this->queue.notify.reschedule ();
if ( this->queue.timerList.first() == this ) {
this->queue.notify.reschedule ();
}
this->queue.timerList.remove ( *this );
this->curState = stateLimbo;