正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -65,7 +65,7 @@ class ProxyService | @@ -65,7 +65,7 @@ class ProxyService | ||
65 | // 处理数据 | 65 | // 处理数据 |
66 | $result = $this->clients[$fd]->exec($data); | 66 | $result = $this->clients[$fd]->exec($data); |
67 | // 解锁 | 67 | // 解锁 |
68 | - $this->clients[$fd]->unlock(); | 68 | + if(isset($this->clients[$fd])) $this->clients[$fd]->unlock(); |
69 | // 返回结果 | 69 | // 返回结果 |
70 | $server->send($fd, $this->push($result[1])); | 70 | $server->send($fd, $this->push($result[1])); |
71 | // 是否关闭连接 | 71 | // 是否关闭连接 |
-
请 注册 或 登录 后发表评论