upgrade-dev v2.3.15

This commit is contained in:
杨红岩 2023-03-19 15:35:44 +08:00
parent 7e7c94625c
commit b1ebd47f0a

View File

@ -176,6 +176,9 @@ func (m *browserChannel) newConnection(conn net.Conn) {
defer func() {
if newConn != nil {
m.removeChannel(newConn.channelId)
newConn.conn = nil
newConn.writeBuf.Reset()
newConn.writeBuf = nil
}
}()
newConn = &connect{