diff --git a/Abstracts/BaseProcess.php b/Abstracts/BaseProcess.php index 10d0597..894f74b 100644 --- a/Abstracts/BaseProcess.php +++ b/Abstracts/BaseProcess.php @@ -107,7 +107,7 @@ abstract class BaseProcess implements OnProcessInterface { $this->isStop = true; $value = Context::getContext('waite:process:message'); - if (Coroutine::exists($value)) { + if (!empty($value) && Coroutine::exists($value)) { Coroutine::cancel($value); } }