mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
SpineCanvasPlugin.shutdown
would try to dispose of the sceneRenderer
, but the property isn't set for Canvas.
This commit is contained in:
parent
fc5630cb72
commit
d0c40b647f
2 changed files with 8 additions and 1 deletions
|
@ -6,6 +6,10 @@
|
|||
|
||||
* `GameConfig.antialiasGL` is a new boolean that allows you to set the `antialias` property of the WebGL context during creation, without impacting any subsequent textures or the canvas CSS.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* `SpineCanvasPlugin.shutdown` would try to dispose of the `sceneRenderer`, but the property isn't set for Canvas.
|
||||
|
||||
## Version 3.19.0 - Naofumi - 8th August 2019
|
||||
|
||||
### Tween Updates
|
||||
|
|
|
@ -1086,7 +1086,10 @@ var SpinePlugin = new Class({
|
|||
|
||||
eventEmitter.off('shutdown', this.shutdown, this);
|
||||
|
||||
this.sceneRenderer.dispose();
|
||||
if (this.sceneRenderer)
|
||||
{
|
||||
this.sceneRenderer.dispose();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue