【战斗】修复战斗界面销毁时未回收延迟资源,导致报错的问题

gaoxin 2020-10-30 10:26:35 +08:00
parent be6e2ba6f4
commit 09fc5118a0
1 changed files with 2 additions and 0 deletions

View File

@ -880,5 +880,7 @@ function this:OnDestroy()
SubUIManager.Close(this.ElementalResonanceView)
SubUIManager.Close(this.ElementalResonanceView2)
BattlePool.Destroy()
-- 回收所有延迟资源
BattleManager.RecycleAllDelayRes()
end
return BattleView