This commit is contained in:
syuilo 2019-08-22 19:56:27 +09:00
parent c637882578
commit c2f932e28b

View file

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