This commit is contained in:
laodaming 2023-10-20 14:23:41 +08:00
parent 962948afdb
commit a56eed8563

View File

@ -111,11 +111,11 @@ func (w *wsConnectItem) consumeRenderImageData() {
}
limitChan <- struct{}{}
go func(d websocket_data.RenderImageReqMsg) {
/* defer func() {
defer func() {
if err := recover(); err != nil {
logx.Error("func renderImage main panic:", err)
}
}()*/
}()
//临时chan用select io多路复用去判断携程退出
tmpChan := make(chan struct{}, 1)
defer close(tmpChan)