限时兑换onhide function增加
parent
e6b1832121
commit
e13026857d
|
|
@ -154,6 +154,14 @@ function ExChange:OnClose()
|
||||||
end
|
end
|
||||||
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()
|
function ExChange:OnDestroy()
|
||||||
itemList = {}
|
itemList = {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue