X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..acc476c530e1730d9202b404ec0b0b87ae44ced6:/src/generic/timer.cpp diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index bffbfa37c0..a67016706f 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -190,7 +190,11 @@ void wxTimerScheduler::NotifyTimers() QueueTimer(desc, now + desc->timer->GetInterval()); } else + { desc = m_timers; + if (!desc) + break; + } } } }