From 73f1574f37b7b6dbd84b2f22010e6f85be95d6ea Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 3 Sep 2023 16:31:18 +0200 Subject: [PATCH] Fix reportPause triggering even in case of CONTINUE --- lib/Loop.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Loop.php b/lib/Loop.php index be3560b..6224ea0 100644 --- a/lib/Loop.php +++ b/lib/Loop.php @@ -162,7 +162,9 @@ abstract class Loop implements Stringable $this->loopInternal(); }); } - $this->reportPause($timeout); + if ($timeout !== self::CONTINUE) { + $this->reportPause($timeout); + } } }