Skip to content

Commit

Permalink
Clean options too
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterlucas committed Apr 21, 2023
1 parent 43498e7 commit e0156db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tree/Stage.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,15 @@ export default class Stage extends EventEmitter {
this.gl = null;
this.c2d = null;
this.ctx = null;
this._options = null;
this.platform = null;
this.textureManager = null;
this._renderer = null;

delete this.gl;
delete this.c2d;
delete this.ctx;
delete this._options;
delete this.platform;
delete this.textureManager;
delete this._renderer;
Expand Down

0 comments on commit e0156db

Please sign in to comment.