测试内存泄露问题
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)
|
worker.SetRedisSetRemove(online_conn_key, con_id)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
buf = nil
|
||||||
c = count
|
c = count
|
||||||
} else {
|
} else {
|
||||||
//每秒发送一次心跳检测
|
//每秒发送一次心跳检测
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue