Skip to content

Commit

Permalink
Merge pull request #10383 from wordpress-mobile/try/fix-double-rotati…
Browse files Browse the repository at this point in the history
…on-modal-crash

Fix crash on double rotation with modal
  • Loading branch information
cameronvoell authored Mar 25, 2020
2 parents 99848a7 + cb147d9 commit 80c5268
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ public void onResume() {
mWPAndroidGlueCode.onResume(this, getActivity());
}

@Override
public void onDetach() {
super.onDetach();

mWPAndroidGlueCode.onDetach(getActivity());
}

@Override
public void onDestroy() {
super.onDestroy();
Expand Down

0 comments on commit 80c5268

Please sign in to comment.