Skip to content

Commit c469429

Browse files
author
肖明昌
committed
fix Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown:0
1 parent 2f2f921 commit c469429

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Process/BaseProcess.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function start(Process $process)
107107
});
108108
}
109109
$this->run($this->swooleProcess);
110+
swoole_event_wait();
110111
}
111112

112113
/**

0 commit comments

Comments
 (0)