mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Fix SpinePlugin destroy
This commit is contained in:
parent
f93388851a
commit
eb6ef7debd
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue