From 58f49dfd76846d5b13dad1c5ff53c7c5adf4b530 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Thu, 24 Aug 2023 12:00:44 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_render_image_logic.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/websocket/internal/logic/ws_render_image_logic.go b/server/websocket/internal/logic/ws_render_image_logic.go index dc9b3b46..9b08099e 100644 --- a/server/websocket/internal/logic/ws_render_image_logic.go +++ b/server/websocket/internal/logic/ws_render_image_logic.go @@ -56,11 +56,6 @@ func (w *wsConnectItem) sendToRenderChan(data []byte) { // 渲染发送到组装数据组装数据(缓冲池) func (w *wsConnectItem) renderImage() { - defer func() { - if err := recover(); err != nil { - logx.Error("renderImage panic:", err) - } - }() for { select { case <-w.closeChan: //已关闭