Fix SpinePlugin destroy

This commit is contained in:
xiamidaxia 2021-06-30 20:41:25 +08:00
parent f93388851a
commit eb6ef7debd

View file

@ -1131,14 +1131,12 @@ var SpinePlugin = new Class({
this.pluginManager = null;
if (sceneRenderer)
if (this.sceneRenderer)
{
sceneRenderer.dispose();
sceneRenderer = null;
}
this.sceneRenderer.dispose();
this.sceneRenderer = null;
}
}
});