This commit is contained in:
laodaming 2023-09-22 15:00:08 +08:00
parent 129583d19a
commit c8a52321a5

View File

@ -97,6 +97,11 @@ func (w *wsConnectItem) consumeRenderImageData() {
<-limitChan <-limitChan
}() }()
go func() { go func() {
defer func() {
if err := recover(); err != nil {
logx.Error( err)
}
}()
select { select {
case <-ctx.Done() : case <-ctx.Done() :
panic("渲染截止") panic("渲染截止")