【大闹天宫】无法挑战修改
parent
e7cc7ee41e
commit
cf971541e1
|
@ -121,9 +121,11 @@ function this:OnClose()
|
||||||
fun()
|
fun()
|
||||||
fun = nil
|
fun = nil
|
||||||
end
|
end
|
||||||
|
if this.LiveName then
|
||||||
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
|
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
|
||||||
this.LiveName= nil
|
this.LiveName= nil
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function this:OnDestroy()
|
function this:OnDestroy()
|
||||||
this.spLoader:Destroy()
|
this.spLoader:Destroy()
|
||||||
|
|
|
@ -79,9 +79,11 @@ function this:OnClose()
|
||||||
fun()
|
fun()
|
||||||
fun = nil
|
fun = nil
|
||||||
end
|
end
|
||||||
|
if this.LiveName then
|
||||||
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
|
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
|
||||||
this.LiveName= nil
|
this.LiveName= nil
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function this:OnDestroy()
|
function this:OnDestroy()
|
||||||
this.spLoader:Destroy()
|
this.spLoader:Destroy()
|
||||||
|
|
Loading…
Reference in New Issue