Skip to content

Commit adb6396

Browse files
author
masashiGMS
committed
Bug fix: #887
1 parent 9552e90 commit adb6396

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/android/plugin/google/maps/GoogleMaps.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,9 @@ private Boolean getLicenseInfo(JSONArray args, CallbackContext callbackContext)
645645
}
646646

647647
private void closeWindow() {
648-
mapFrame.removeView(mapView);
648+
if (mapView != null) {
649+
mapFrame.removeView(mapView);
650+
}
649651
if (mPluginLayout != null &&
650652
mapDivLayoutJSON != null) {
651653
mPluginLayout.attachMyView(mapView);

0 commit comments

Comments
 (0)