内存泄漏解决测试

This commit is contained in:
lijun 2025-01-22 14:03:03 +08:00
parent c0219ce83c
commit bf6546069b
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) {
//定时器,发送计数器 //定时器,发送计数器
t_count := 0 t_count := 0
t := 0 t := 0
log.Printf("device:%d send frame count:%d,img is closed", device_id, count)
//计算帧率 //计算帧率
for { for {
//从service获取当前帧 //从service获取当前帧