diff --git a/HttpServer/Events/OnClose.php b/HttpServer/Events/OnClose.php index 9525e7c8..51acf20c 100644 --- a/HttpServer/Events/OnClose.php +++ b/HttpServer/Events/OnClose.php @@ -27,7 +27,7 @@ class OnClose extends Callback { try { defer(fn() => fire(Event::SYSTEM_RESOURCE_RELEASES)); - $clientInfo = $server->getClientInfo($fd); + $clientInfo = $server->getClientInfo($fd,null, true); Event::trigger($this->getName($clientInfo, Event::SERVER_CLIENT_CLOSE), [$server, $fd]); } catch (\Throwable $exception) {