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 () {