Skip to content
Snippets Groups Projects
Commit 17bb48b2 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Prevent NPE in login dialog

parent 4d8018a4
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,8 @@ public abstract class VlcDialog<T extends Dialog, B extends android.databinding.
@Override
public void onDestroy() {
super.onDestroy();
mVlcDialog.dismiss();
if (mVlcDialog != null)
mVlcDialog.dismiss();
getActivity().finish();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment