mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 03:37:48 +08:00
upgrade-dev v2.3.15
This commit is contained in:
parent
7e7c94625c
commit
b1ebd47f0a
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user