From d1ccbbb5e083e4bd8fad586515c327062411f9ae Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 5 Nov 2021 01:09:20 +0800 Subject: [PATCH] 111 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 1 + 1 file changed, 1 insertion(+) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index f55f9152..93a703e5 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -102,6 +102,7 @@ class FileChangeCustomProcess extends Command if ($content > 0 && Process::kill($content,0)){ Process::kill($content,15); } + @unlink(storage('.swoole.pid')); } Coroutine::create(function () {