mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
Fix #5324
This commit is contained in:
parent
15e156125d
commit
5e3a1af93b
@ -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 New Issue
Block a user