Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Wait for mapView to finish loading before disposing
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
  • Loading branch information
nzjony committed Nov 18, 2020
1 parent 688399a commit ecd16a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @here/harp-mapview/test/MapViewTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ describe("MapView", function() {

afterEach(async function() {
if (mapView !== undefined) {
await mapView.getTheme();
mapView.dispose();
mapView = undefined;
}
Expand Down

0 comments on commit ecd16a6

Please sign in to comment.