From e969fc53a266250f5c1296201e9feaa123642929 Mon Sep 17 00:00:00 2001 From: lijun Date: Mon, 20 Jan 2025 18:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8v3=E8=8E=B7=E5=8F=96=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E5=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/tool.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/handler/tool.go b/handler/tool.go index 7522064..e09ec04 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -245,6 +245,10 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) { err5 := img.Close() if err5 != nil { log.Printf("img close err:%v", err) + } else { + if c%10 == 0 { + log.Printf("device:%d send frame count:%d,img is closed", device_id, c) + } } } } else {