This commit is contained in:
syuilo 2019-08-22 19:56:27 +09:00
parent 15e156125d
commit 5e3a1af93b

View File

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