diff --git a/system/Process/Process.php b/system/Process/Process.php index 362d3408..e0560b02 100644 --- a/system/Process/Process.php +++ b/system/Process/Process.php @@ -18,7 +18,6 @@ abstract class Process extends Component protected $application; - /** * Process constructor. * @param $application @@ -43,7 +42,9 @@ abstract class Process extends Component */ protected function start($process) { - $this->onHandler($process); + do { + $this->onHandler($process); + } while (true); } }