diff options
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/engine.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/engine.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/engine.js b/js/helper-classes/RDGE/src/core/script/engine.js index 1777fc22..cf576702 100755 --- a/js/helper-classes/RDGE/src/core/script/engine.js +++ b/js/helper-classes/RDGE/src/core/script/engine.js | |||
@@ -426,13 +426,12 @@ RDGE.Engine.prototype.registerCanvas = function (canvas, runState) { | |||
426 | }; | 426 | }; |
427 | 427 | ||
428 | RDGE.Engine.prototype.unregisterCanvas = function (canvas) { | 428 | RDGE.Engine.prototype.unregisterCanvas = function (canvas) { |
429 | stat.closePage(canvas.rdgeid + "_fps"); | ||
430 | contextManager.removeObject(canvas.rdgeCtxHandle); | 429 | contextManager.removeObject(canvas.rdgeCtxHandle); |
431 | this.clearContext( canvas.rdgeid ); | 430 | this.clearContext( canvas.rdgeid ); |
432 | }; | 431 | }; |
433 | 432 | ||
434 | 433 | ||
435 | Engine.prototype.getCanvas = function( id ) | 434 | RDGE.Engine.prototype.getCanvas = function (id) |
436 | { | 435 | { |
437 | return this.canvasToRendererMap[id]; | 436 | return this.canvasToRendererMap[id]; |
438 | }; | 437 | }; |