Fixed a crash when deleting the last timer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-03-21 11:25:26 +00:00
parent b976323b04
commit dd7230ab0b

View File

@@ -190,7 +190,11 @@ void wxTimerScheduler::NotifyTimers()
QueueTimer(desc, now + desc->timer->GetInterval());
}
else
{
desc = m_timers;
if (!desc)
break;
}
}
}
}