From 1510b47fccab0aac3512026982559fc5ecca63d8 Mon Sep 17 00:00:00 2001 From: Sashank Aryal Date: Thu, 12 Dec 2024 16:43:42 -0600 Subject: [PATCH] remove bitmap = null (obj closed for modification) --- app/packages/looker/src/overlays/detection.ts | 1 - app/packages/looker/src/overlays/heatmap.ts | 1 - app/packages/looker/src/overlays/segmentation.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/app/packages/looker/src/overlays/detection.ts b/app/packages/looker/src/overlays/detection.ts index 1298cf2fbc..e8616f71b1 100644 --- a/app/packages/looker/src/overlays/detection.ts +++ b/app/packages/looker/src/overlays/detection.ts @@ -263,7 +263,6 @@ export default class DetectionOverlay< public cleanup(): void { this.label.mask?.bitmap?.close(); - this.label.mask.bitmap = null; } } diff --git a/app/packages/looker/src/overlays/heatmap.ts b/app/packages/looker/src/overlays/heatmap.ts index b9e41e1a9c..d8fb8909d5 100644 --- a/app/packages/looker/src/overlays/heatmap.ts +++ b/app/packages/looker/src/overlays/heatmap.ts @@ -208,7 +208,6 @@ export default class HeatmapOverlay public cleanup(): void { this.label.map?.bitmap?.close(); - this.label.map.bitmap = null; } } diff --git a/app/packages/looker/src/overlays/segmentation.ts b/app/packages/looker/src/overlays/segmentation.ts index 566a7153b0..04c2fc693b 100644 --- a/app/packages/looker/src/overlays/segmentation.ts +++ b/app/packages/looker/src/overlays/segmentation.ts @@ -263,7 +263,6 @@ export default class SegmentationOverlay public cleanup(): void { this.label.mask?.bitmap?.close(); - this.label.mask.bitmap = null; } }