From 93bd3d3f69220a0f089c7ce1cac8efe30211fc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 5 Nov 2021 14:35:16 +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 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 27ae3b6d..b3365a18 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -69,13 +69,13 @@ class FileChangeCustomProcess extends Command $this->trigger_reload(); Coroutine::create(function () use ($driver) { - Coroutine::create(function () use ($driver) { - $waite = Coroutine::waitSignal(SIGTERM | SIGKILL); - if ($waite) { - $driver->clear(); - $this->stop($driver); - } - }); +// Coroutine::create(function () use ($driver) { +// $waite = Coroutine::waitSignal(SIGTERM | SIGKILL); +// if ($waite) { +// $driver->clear(); +// $this->stop($driver); +// } +// }); $driver->start(); }); return 0;