变更
This commit is contained in:
@@ -218,8 +218,7 @@ class AsyncServer implements ServerInterface
|
||||
*/
|
||||
public function start(): void
|
||||
{
|
||||
$processManager = Kiri::getDi()->get(EventDispatch::class);
|
||||
$processManager->dispatch(new OnServerBeforeStart());
|
||||
event(new OnServerBeforeStart());
|
||||
$this->server->start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user