This commit is contained in:
2021-03-02 10:51:16 +08:00
parent 4ce0dddd65
commit e8d7764302
-3
View File
@@ -92,9 +92,6 @@ class OnWorkerStart extends Callback
*/
public function onSignal(Server $server, $worker_id): mixed
{
pcntl_signal($this->signal, function () {
var_dump(func_get_args());
});
$ret = Coroutine::waitSignal($this->signal, -1);
if ($ret === true) {
$this->ticker();