mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
fixed #91 crash after round end
This commit is contained in:
parent
b92cce88f2
commit
4f3a53ca53
6 changed files with 15 additions and 18 deletions
|
|
@ -179,14 +179,4 @@ function (Parent, PIXI, ColorRangeReplaceFilter, Settings) {
|
|||
};
|
||||
|
||||
return Layer;
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|
||||
1 = this.zoom.current ? -1
|
||||
|
||||
1 = this.zoom.current * (-1) * (-1)
|
||||
|
||||
|
||||
*/
|
||||
});
|
||||
|
|
@ -168,11 +168,8 @@ function (Parent, DomController, PIXI, Settings, Nc, Exception, GameStats, Layer
|
|||
|
||||
PixiView.prototype.destroy = function() {
|
||||
|
||||
this.layerManager.destroy();
|
||||
this.layerManager.destroy(); // also calls all layers destroy
|
||||
|
||||
this.ghostLayer.destroy();
|
||||
this.swiperLayer.destroy();
|
||||
|
||||
for (var i = 0; i < this.stage.children.length; i++) {
|
||||
this.stage.removeChild(this.stage.children[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue