mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 12:13: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;
|
||||
|
||||
if (sceneRenderer)
|
||||
if (this.sceneRenderer)
|
||||
{
|
||||
sceneRenderer.dispose();
|
||||
sceneRenderer = null;
|
||||
this.sceneRenderer.dispose();
|
||||
this.sceneRenderer = null;
|
||||
}
|
||||
|
||||
this.sceneRenderer = null;
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue