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,7 +162,9 @@ abstract class Loop implements Stringable
|
||||
$this->loopInternal();
|
||||
});
|
||||
}
|
||||
$this->reportPause($timeout);
|
||||
if ($timeout !== self::CONTINUE) {
|
||||
$this->reportPause($timeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user