This commit is contained in:
syuilo 2019-08-22 19:56:27 +09:00
parent c637882578
commit c2f932e28b
1 changed files with 3 additions and 0 deletions

View File

@ -769,5 +769,8 @@ export class Room {
public destroy() {
// Stop render loop
window.cancelAnimationFrame(this.renderFrameRequestId);
this.controls.dispose();
this.scene.dispose();
}
}