This commit is contained in:
2021-02-26 18:00:24 +08:00
parent 0f3cc0e789
commit 44540d9cc0
+3
View File
@@ -57,6 +57,9 @@ class OnWorkerStart extends Callback
return; return;
} }
while (true) { while (true) {
if (!isset(Coroutine::getContext(Coroutine::getPcid())['isComplete'])) {
break;
}
$content = Coroutine::getContext(Coroutine::getPcid())['isComplete']; $content = Coroutine::getContext(Coroutine::getPcid())['isComplete'];
if ($content === true) { if ($content === true) {
break; break;