This commit is contained in:
2021-03-04 00:56:43 +08:00
parent 1fe01a22fb
commit f87a7ece13
+6
View File
@@ -49,6 +49,12 @@ class OnClose extends Callback
private function execute(Server $server, int $fd): void
{
try {
if (!$server instanceof WServer) {
return;
}
if (!$server->isEstablished($fd)) {
return;
}
$this->loadNode($server, $fd);
} catch (\Throwable $exception) {
$this->addError($exception);