From 4887a4c02303c3f60f68d605d956870305e4c8ae Mon Sep 17 00:00:00 2001 From: as2252258 Date: Sun, 10 Apr 2022 14:56:32 +0800 Subject: [PATCH] modify mysql result --- Abstracts/BaseProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }