From 8b76ef8e4184b4cd2bd465397528bc57851809a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 5 Nov 2021 14:45:24 +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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 27864477..c86ab9af 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -67,12 +67,6 @@ class FileChangeCustomProcess extends Command if (Kiri::getPlatform()->isLinux()) { swoole_set_process_name('[' . Config::get('id', 'sw service.') . '].sw:wather'); } - - Process::signal(SIGKILL | SIGTERM, function ($data) use ($driver) { - $driver->clear(); - $this->stop(); - }); - $this->trigger_reload(); Coroutine::create(function () use ($driver) { $driver->start();