This commit is contained in:
laodaming 2023-08-24 12:00:44 +08:00
parent 98c50565e6
commit 58f49dfd76

View File

@ -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: //已关闭