改名
This commit is contained in:
@@ -69,13 +69,13 @@ class FileChangeCustomProcess extends Command
|
||||
|
||||
$this->trigger_reload();
|
||||
Coroutine::create(function () use ($driver) {
|
||||
Coroutine::create(function () use ($driver) {
|
||||
$waite = Coroutine::waitSignal(SIGTERM | SIGKILL);
|
||||
if ($waite) {
|
||||
$driver->clear();
|
||||
$this->stop($driver);
|
||||
}
|
||||
});
|
||||
// Coroutine::create(function () use ($driver) {
|
||||
// $waite = Coroutine::waitSignal(SIGTERM | SIGKILL);
|
||||
// if ($waite) {
|
||||
// $driver->clear();
|
||||
// $this->stop($driver);
|
||||
// }
|
||||
// });
|
||||
$driver->start();
|
||||
});
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user