[android] - null checking when invalidating as the invalidate callback can be invoked while the reference to MapView isn't valid anymore. (#8062)

This commit is contained in:
Tobrun
2017-02-15 12:57:44 +01:00
committed by GitHub
parent 0351e9c370
commit 24432e0b98

View File

@@ -927,7 +927,9 @@ final class NativeMapView {
//
protected void onInvalidate() {
mapView.onInvalidate();
if (mapView != null) {
mapView.onInvalidate();
}
}
protected void onMapChanged(int rawChange) {