mirror of
https://github.com/danog/loop.git
synced 2024-11-30 04:19:04 +01:00
Fix reportPause triggering even in case of CONTINUE
This commit is contained in:
parent
6112950271
commit
73f1574f37
@ -162,9 +162,11 @@ abstract class Loop implements Stringable
|
||||
$this->loopInternal();
|
||||
});
|
||||
}
|
||||
if ($timeout !== self::CONTINUE) {
|
||||
$this->reportPause($timeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function exitedLoopInternal(): void
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user