mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Update SpinePlugin.js
This commit is contained in:
parent
6fd318f926
commit
13fde9ce7a
1 changed files with 2 additions and 0 deletions
|
@ -1130,6 +1130,7 @@ var SpinePlugin = new Class({
|
||||||
{
|
{
|
||||||
this.pluginManager.removeGameObject('spine', true, true);
|
this.pluginManager.removeGameObject('spine', true, true);
|
||||||
this.pluginManager.removeGameObject('spineContainer', true, true);
|
this.pluginManager.removeGameObject('spineContainer', true, true);
|
||||||
|
|
||||||
this.pluginManager = null;
|
this.pluginManager = null;
|
||||||
|
|
||||||
if (sceneRenderer)
|
if (sceneRenderer)
|
||||||
|
@ -1137,6 +1138,7 @@ var SpinePlugin = new Class({
|
||||||
sceneRenderer.dispose();
|
sceneRenderer.dispose();
|
||||||
sceneRenderer = null;
|
sceneRenderer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.sceneRenderer = null;
|
this.sceneRenderer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue