This commit is contained in:
as2252258@163.com
2021-02-28 00:01:05 +08:00
parent a3c6db9f5e
commit 1a2263dfb6
+1 -1
View File
@@ -76,7 +76,7 @@ class OnWorkerStart extends Callback
while (Co::stats()['coroutine_num'] > 0) {
Coroutine::sleep(0.01);
}
return $server->stop();
return $server->stop(-1, true);
}, $server);
}