1
0
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:
Daniil Gentili 2023-09-03 16:31:18 +02:00
parent 6112950271
commit 73f1574f37
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -162,9 +162,11 @@ abstract class Loop implements Stringable
$this->loopInternal();
});
}
if ($timeout !== self::CONTINUE) {
$this->reportPause($timeout);
}
}
}
private function exitedLoopInternal(): void
{