Skip to content

Commit

Permalink
remove bitmap = null (obj closed for modification)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Dec 12, 2024
1 parent 4f76488 commit 1510b47
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/packages/looker/src/overlays/detection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ export default class DetectionOverlay<

public cleanup(): void {
this.label.mask?.bitmap?.close();
this.label.mask.bitmap = null;
}
}

Expand Down
1 change: 0 additions & 1 deletion app/packages/looker/src/overlays/heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ export default class HeatmapOverlay<State extends BaseState>

public cleanup(): void {
this.label.map?.bitmap?.close();
this.label.map.bitmap = null;
}
}

Expand Down
1 change: 0 additions & 1 deletion app/packages/looker/src/overlays/segmentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ export default class SegmentationOverlay<State extends BaseState>

public cleanup(): void {
this.label.mask?.bitmap?.close();
this.label.mask.bitmap = null;
}
}

Expand Down

0 comments on commit 1510b47

Please sign in to comment.