Skip to content

Commit

Permalink
NPE 수정 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadFlask committed Jun 3, 2021
1 parent 3158dc3 commit e4496b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ protected void onAttachedToWindow() {
@Override
protected void onDetachedFromWindow() {
isAttachedToWindow = false;
mapView.onSaveInstanceState(instanceStateBundle);
if (mapView != null)
mapView.onSaveInstanceState(instanceStateBundle);
super.onDetachedFromWindow();
}

Expand Down

0 comments on commit e4496b5

Please sign in to comment.