mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
repair connection class removing bug
This commit is contained in:
parent
527814592d
commit
a60be2351d
@ -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]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user