Commit 17bb48b2 authored by Geoffrey Métais's avatar Geoffrey Métais

Prevent NPE in login dialog

parent 4d8018a4
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment