This commit is contained in:
laodaming 2023-08-23 11:03:45 +08:00
parent d5f33433c3
commit 3593d32fb3

View File

@ -72,11 +72,6 @@ func (w *wsConnectItem) renderImage() {
// 消费渲染缓冲数据 // 消费渲染缓冲数据
func (w *wsConnectItem) consumeRenderCache(data []byte) { func (w *wsConnectItem) consumeRenderCache(data []byte) {
defer func() {
if err := recover(); err != nil {
logx.Error("consumeRenderCache panic:", err)
}
}()
logx.Info("消费渲染数据:", string(data)) logx.Info("消费渲染数据:", string(data))
var renderImageData websocket_data.RenderImageReqMsg var renderImageData websocket_data.RenderImageReqMsg
if err := json.Unmarshal(data, &renderImageData); err != nil { if err := json.Unmarshal(data, &renderImageData); err != nil {