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,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;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue