Skip to content

Commit

Permalink
Fix some sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerstolzenberg committed Mar 6, 2024
1 parent f56171d commit 853752a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/map/map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class MapComponent implements OnInit, AfterViewInit, OnDestroy {
}

ngAfterViewInit() {
this.mapService.initDeckGlMap(this.mapDiv!, this.metrics$!);
this.mapService.initDeckGlMap(this.mapDiv!, this.metrics$);
}

ngOnDestroy(): void {
Expand Down Expand Up @@ -68,7 +68,7 @@ export class MapComponent implements OnInit, AfterViewInit, OnDestroy {
private unsubscribeAll() {
this.onUnsubscribe$.next(true);
this.onUnsubscribe$.complete();
this.onUnsubscribe$!.unsubscribe();
this.onUnsubscribe$.unsubscribe();
}

// TODO deck.gl: dispose deck map
Expand Down

0 comments on commit 853752a

Please sign in to comment.