summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/scripts/room/room.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/app/common/scripts/room/room.ts b/src/client/app/common/scripts/room/room.ts
index ac5a6e4cc3..c2a989c784 100644
--- a/src/client/app/common/scripts/room/room.ts
+++ b/src/client/app/common/scripts/room/room.ts
@@ -769,5 +769,8 @@ export class Room {
public destroy() {
// Stop render loop
window.cancelAnimationFrame(this.renderFrameRequestId);
+
+ this.controls.dispose();
+ this.scene.dispose();
}
}