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