This commit is contained in:
2021-11-19 03:43:00 +08:00
parent ba804c4d9c
commit 758bd650b5
+1 -2
View File
@@ -78,7 +78,7 @@ class HotReload extends Command
$this->trigger_reload(); $this->trigger_reload();
Process::signal(SIGKILL, [$this, 'onSignal']); Process::signal(SIGKILL, [$this, 'onSignal']);
Process::signal(SIGTERM, [$this, 'onSignal']); Process::signal(SIGTERM, [$this, 'onSignal']);
Coroutine\run(function (){ Coroutine::create(function () {
$this->driver->start(); $this->driver->start();
}); });
return 0; return 0;
@@ -150,7 +150,6 @@ class HotReload extends Command
} }
/** /**
* 重启 * 重启
* *