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

Prevent NPE on vlc dialogs

parent 113c9999
No related branches found
No related tags found
No related merge requests found
......@@ -453,7 +453,7 @@ public abstract class Dialog {
public void run() {
if (dialog instanceof IdDialog)
((IdDialog) dialog).dismiss();
if (sCallbacks != null)
if (sCallbacks != null && dialog != null)
sCallbacks.onCanceled(dialog);
}
});
......
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