Fix #5324
This commit is contained in:
parent
c637882578
commit
c2f932e28b
1 changed files with 3 additions and 0 deletions
|
@ -769,5 +769,8 @@ export class Room {
|
|||
public destroy() {
|
||||
// Stop render loop
|
||||
window.cancelAnimationFrame(this.renderFrameRequestId);
|
||||
|
||||
this.controls.dispose();
|
||||
this.scene.dispose();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue