modify plugin name

This commit is contained in:
2022-02-11 16:44:10 +08:00
parent c2fde2e6d7
commit 0bf995f3e4
+1 -3
View File
@@ -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));
}