fix
This commit is contained in:
parent
e9a3b7b49c
commit
f9a53b9e36
|
@ -563,6 +563,8 @@ func (w *wsConnectItem) operationRenderTask() {
|
|||
if !ok {
|
||||
continue
|
||||
}
|
||||
//删除任务
|
||||
delete(w.extendRenderProperty.renderImageTask, data.taskId)
|
||||
//存在任务,则发送渲染结果给前端
|
||||
UnityRenderTakesTime := "cache"
|
||||
uploadUnityRenderImageTakesTime := "cache"
|
||||
|
@ -583,8 +585,6 @@ func (w *wsConnectItem) operationRenderTask() {
|
|||
UploadUnityRenderImageTakesTime: uploadUnityRenderImageTakesTime,
|
||||
},
|
||||
})
|
||||
//删除任务
|
||||
delete(w.extendRenderProperty.renderImageTask, data.taskId)
|
||||
case 1: //新增任务
|
||||
w.extendRenderProperty.renderImageTask[data.taskId] = &renderTask{
|
||||
renderId: data.renderId,
|
||||
|
|
Loading…
Reference in New Issue
Block a user