[android] #5106 - add check for destroyed map view for addMarker()
This commit is contained in:
committed by
Brad Leege
parent
71caee2e49
commit
78fe86fcb1
@@ -1021,6 +1021,9 @@ public class MapView extends FrameLayout {
|
||||
}
|
||||
|
||||
long addMarker(@NonNull Marker marker) {
|
||||
if(mDestroyed){
|
||||
return 0l;
|
||||
}
|
||||
return mNativeMapView.addMarker(marker);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user