modify plugin name
This commit is contained in:
@@ -111,6 +111,9 @@ abstract class BaseProcess implements OnProcessInterface
|
|||||||
{
|
{
|
||||||
$this->isStop = true;
|
$this->isStop = true;
|
||||||
$value = Context::getContext('waite:process:message');
|
$value = Context::getContext('waite:process:message');
|
||||||
|
|
||||||
|
\Kiri::getLogger()->alert('Process ' . $this->getName() . ' stop');
|
||||||
|
|
||||||
if (!is_null($value) && Coroutine::exists((int)$value)) {
|
if (!is_null($value) && Coroutine::exists((int)$value)) {
|
||||||
Coroutine::cancel((int)$value);
|
Coroutine::cancel((int)$value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user