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

dev_chengFeng
ZhangBiao 2021-12-02 10:35:06 +08:00 committed by JieLing
parent c61f3eec6f
commit 0bf844b8d8
2 changed files with 8 additions and 4 deletions

View File

@ -121,8 +121,10 @@ function this:OnClose()
fun()
fun = nil
end
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
if this.LiveName then
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
end
end
function this:OnDestroy()

View File

@ -79,8 +79,10 @@ function this:OnClose()
fun()
fun = nil
end
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
if this.LiveName then
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
end
end
function this:OnDestroy()