Skip to content

Commit

Permalink
Merge pull request #125 from remex2008/master
Browse files Browse the repository at this point in the history
Fix issue #110
  • Loading branch information
huburt-Hu authored Jun 27, 2019
2 parents cfc5d54 + 5869180 commit d22aac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void onDestroyView() {
});
}

if (v4Fragment != null) {
if (v4Fragment != null && v4Fragment.isAdded()) {
android.support.v4.app.FragmentManager v4Fm = v4Fragment.getChildFragmentManager();
V4ListenerFragment v4ListenerFragment = (V4ListenerFragment) v4Fm.findFragmentByTag(LISTENER_FRAGMENT);
if (v4ListenerFragment == null) {
Expand Down

0 comments on commit d22aac4

Please sign in to comment.