This commit is contained in:
2024-12-27 22:34:17 +08:00
parent 5defd5fb30
commit 251e05dbf7
+1 -1
View File
@@ -133,7 +133,7 @@ abstract class AbstractProcess implements OnProcessInterface
Coroutine::set($array);
Coroutine::create(fn() => $this->coroutineWaitSignal());
} else {
pcntl_signal(SIGTERM | SIGINT | SIGUSR1, [$this, 'pointWaitSignal']);
$process::signal(SIGTERM | SIGINT | SIGUSR1, [$this, 'pointWaitSignal']);
}
return $this;
}