From 0bf995f3e4707c428269284f970d2a46fbe3d0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 11 Feb 2022 16:44:10 +0800 Subject: [PATCH] modify plugin name --- ProcessManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ProcessManager.php b/ProcessManager.php index a0264ff..0d528b8 100644 --- a/ProcessManager.php +++ b/ProcessManager.php @@ -44,9 +44,7 @@ class ProcessManager $this->logger->debug($system . ' ' . $customProcess->getName() . ' start.'); $process = $this->parse($customProcess, $system); if (Context::inCoroutine()) { - Coroutine::create(function () use ($process) { - $process->start(); - }); + $process->start(); } else { $server->addProcess($process = $this->parse($customProcess, $system)); }