fix
This commit is contained in:
parent
98c50565e6
commit
58f49dfd76
|
@ -56,11 +56,6 @@ func (w *wsConnectItem) sendToRenderChan(data []byte) {
|
||||||
|
|
||||||
// 渲染发送到组装数据组装数据(缓冲池)
|
// 渲染发送到组装数据组装数据(缓冲池)
|
||||||
func (w *wsConnectItem) renderImage() {
|
func (w *wsConnectItem) renderImage() {
|
||||||
defer func() {
|
|
||||||
if err := recover(); err != nil {
|
|
||||||
logx.Error("renderImage panic:", err)
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-w.closeChan: //已关闭
|
case <-w.closeChan: //已关闭
|
||||||
|
|
Loading…
Reference in New Issue
Block a user