This commit is contained in:
MrPlatnum committed 2025-09-14 19:11:03 +02:00
1 parent ddd487e72a
commit e1d21d0a19
5 files changed
+24 -24

No files matched your search

@@ -125,6 +125,6 @@ export class DemographicsFeedbackComponent implements OnInit, OnDestroy {
}
ngOnDestroy() {
this.metricsService.cleanup();
this.metricsService.fullCleanup();
}
}
@@ -23,8 +23,8 @@ import '../../../../../assets/scripts/model-viewer';
styleUrls: ['./spatial-position-assessment.component.css'],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class SpatialPositionAssessmentComponent implements AfterViewInit, OnDestroy {
export class SpatialPositionAssessmentComponent implements AfterViewInit {
@ViewChild('modelViewer') modelViewerRef!: ElementRef<any>;
@Output() testComplete = new EventEmitter<void>();
@Output() redoTest = new EventEmitter<number>();
@@ -105,7 +105,4 @@ export class SpatialPositionAssessmentComponent implements AfterViewInit, OnDest
this.redoTest.emit(1);
}
ngOnDestroy() {
this.metricsService.cleanup();
}
}
@@ -166,6 +166,5 @@ export class SpatialStabilityAssessmentComponent implements AfterViewInit, OnDes
if (this.countdownInterval) {
clearInterval(this.countdownInterval);
}
this.metricsService.cleanup();
}
}
@@ -23,7 +23,7 @@ import '../../../../../assets/scripts/model-viewer';
styleUrls: ['./text-legibility-assessment.component.css'],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class TextLegibilityAssessmentComponent implements AfterViewInit, OnDestroy {
export class TextLegibilityAssessmentComponent implements AfterViewInit {
@ViewChild('modelViewer') modelViewerRef!: ElementRef<any>;
@Output() testComplete = new EventEmitter<void>();
@Output() redoTest = new EventEmitter<number>();
@@ -127,8 +127,4 @@ export class TextLegibilityAssessmentComponent implements AfterViewInit, OnDestr
this.testComplete.emit();
}
ngOnDestroy() {
this.metricsService.cleanup();
}
}