[LayaAir 2.0]renderType设置为instance,autoDestroyAtClosed设置为true,第二次打开报错

renderType设置为instance,autoDestroyAtClosed设置为true
 
blob:https://ask.layabox.com/f37795 ... b7ae5
 
第二次创建时,clas.instance保存的是一个已经销毁的对象
laya.core_.js_.png
已邀请:

Aar0n

赞同来自:

这是作为单例方式实例化,那为什么还要销毁

要回复问题请先

商务合作
商务合作