commit
a80c8bd18c
|
@ -63,7 +63,10 @@ final class LoopTimeoutTimerDriver : EventDriverTimers {
|
||||||
|
|
||||||
foreach (tm; m_firedTimers) {
|
foreach (tm; m_firedTimers) {
|
||||||
auto cb = tm.callback;
|
auto cb = tm.callback;
|
||||||
|
if (!tm.pending) {
|
||||||
tm.callback = null;
|
tm.callback = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (cb) cb(tm.id);
|
if (cb) cb(tm.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue