This commit is contained in:
2020-12-15 17:14:02 +08:00
parent 875b0a43f3
commit c8d9cfee40
4 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class OnClose extends Callback
if (!($server instanceof WServer) || !$server->isEstablished($fd)) {
return;
}
$node = $router->search(Socket::CLOSE . '::event', 'sw::socket');
$node = $router->search('/' . Socket::CLOSE . '::event', 'sw::socket');
if ($node instanceof Node) {
$node->dispatch();
}