repair connection class removing bug

This commit is contained in:
jerry 2018-06-17 01:29:15 +08:00
parent 527814592d
commit a60be2351d

View File

@ -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]);