Skip to content

Commit 860a98e

Browse files
committed
[EventLoop] Fix a subtle bug introduced with commit a05bba44.
These two lines were actually removed by accident.
1 parent c2bd6da commit 860a98e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Timer/Timers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ public function tick()
8888
if ($timer->periodic === true) {
8989
$timer->scheduled = $timer->interval + $time;
9090
$timers->insert($timer, -$timer->scheduled);
91+
} else {
92+
unset($this->active[$timer->signature]);
9193
}
9294
}
9395
}

0 commit comments

Comments
 (0)