diff --git a/packages/front/src/measurement/FaceMeasurement/index.ts b/packages/front/src/measurement/FaceMeasurement/index.ts index 11f88c954..4df37fc3b 100644 --- a/packages/front/src/measurement/FaceMeasurement/index.ts +++ b/packages/front/src/measurement/FaceMeasurement/index.ts @@ -290,6 +290,9 @@ export class FaceMeasurement if (!this.world) { throw new Error("The face measurement needs a world to work!"); } + if (this.world.isDisposing) { + return; + } const scene = this.world.scene.three; for (const item of this.selection) { const label = item.label.three;