mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -07:00
Fix #5324
This commit is contained in:
parent
15e156125d
commit
5e3a1af93b
1 changed files with 3 additions and 0 deletions
|
@ -769,5 +769,8 @@ export class Room {
|
||||||
public destroy() {
|
public destroy() {
|
||||||
// Stop render loop
|
// Stop render loop
|
||||||
window.cancelAnimationFrame(this.renderFrameRequestId);
|
window.cancelAnimationFrame(this.renderFrameRequestId);
|
||||||
|
|
||||||
|
this.controls.dispose();
|
||||||
|
this.scene.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue