From 0d5d7322ca4ece9ce9fc74f8f50fe8362ff71a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 1 Sep 2020 14:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Process/Process.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } }