mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
repair connection class removing bug
This commit is contained in:
@@ -11,7 +11,6 @@ class WSCloseEvent extends Event
|
||||
public function __construct(swoole_server $server, int $fd) {
|
||||
$connect = CQUtil::getConnection($fd);
|
||||
if ($connect->getPair() !== null) {
|
||||
$connect->getPair()->setPair(null);
|
||||
$connect->setPair(null);
|
||||
}
|
||||
unset(Buffer::$connect[$fd]);
|
||||
|
||||
Reference in New Issue
Block a user