改名
This commit is contained in:
@@ -49,6 +49,12 @@ class OnClose extends Callback
|
|||||||
private function execute(Server $server, int $fd): void
|
private function execute(Server $server, int $fd): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
if (!$server instanceof WServer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!$server->isEstablished($fd)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$this->loadNode($server, $fd);
|
$this->loadNode($server, $fd);
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$this->addError($exception);
|
$this->addError($exception);
|
||||||
|
|||||||
Reference in New Issue
Block a user