【战斗】尝试修复退出战斗界面,资源回收错误,偶现报错的问题

gaoxin 2020-11-30 14:18:02 +08:00
parent d3c6c76fb1
commit 98900329fc
1 changed files with 3 additions and 2 deletions

View File

@ -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