【大闹天宫】无法挑战修改

dev_chengFeng
ZhangBiao 2021-12-02 10:35:06 +08:00
parent e7cc7ee41e
commit cf971541e1
2 changed files with 8 additions and 4 deletions

View File

@ -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()

View File

@ -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()