From 329666f9b479f5d9888919ca5f815f6ec3cca0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 22 Jun 2022 18:55:30 +0800 Subject: [PATCH] modify plugin name --- Abstracts/BaseProcess.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Abstracts/BaseProcess.php b/Abstracts/BaseProcess.php index 3126a83..84a333e 100644 --- a/Abstracts/BaseProcess.php +++ b/Abstracts/BaseProcess.php @@ -111,6 +111,9 @@ abstract class BaseProcess implements OnProcessInterface { $this->isStop = true; $value = Context::getContext('waite:process:message'); + + \Kiri::getLogger()->alert('Process ' . $this->getName() . ' stop'); + if (!is_null($value) && Coroutine::exists((int)$value)) { Coroutine::cancel((int)$value); }