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