Fix SpinePlugin destroy

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

View file

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