【战斗】尝试修复退出战斗界面,资源回收错误,偶现报错的问题
parent
d3c6c76fb1
commit
98900329fc
|
|
@ -882,9 +882,10 @@ function this:OnClose()
|
|||
|
||||
-- 回收所有延迟资源
|
||||
BattleManager.RecycleAllDelayRes()
|
||||
|
||||
|
||||
--
|
||||
FixedUpdateBeat:Remove(this.OnUpdate, self)
|
||||
-- 清空
|
||||
this.Clear()
|
||||
for _, v in pairs(tbRoleDispose) do
|
||||
v:Dispose()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue