限时兑换onhide function增加

ZhangBiao 2020-09-17 09:49:43 +08:00
parent e6b1832121
commit e13026857d
1 changed files with 8 additions and 0 deletions

View File

@ -154,6 +154,14 @@ function ExChange:OnClose()
end
end
function ExChange:OnHide()
if this.liveNode then
poolManager:UnLoadLive(this.liveName, this.liveNode)
this.liveNode = nil
this.liveName = nil
end
end
--界面销毁时调用(用于子类重写)
function ExChange:OnDestroy()
itemList = {}