测试内存泄露问题
This commit is contained in:
parent
8ceea2bb55
commit
b27a7fb7cc
|
|
@ -209,6 +209,7 @@ func subscribeAndHandleMessagesV6(ws *websocket.Conn, deviceId int) {
|
|||
worker.SetRedisSetRemove(online_conn_key, con_id)
|
||||
break
|
||||
}
|
||||
buf = nil
|
||||
c = count
|
||||
} else {
|
||||
//每秒发送一次心跳检测
|
||||
|
|
|
|||
Loading…
Reference in New Issue