Skip to content
Snippets Groups Projects
Commit b9a1f794 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

dialog: fix double DeleteGlobalRef

cancel_cb cause nativeDismiss to be called that will call DeleteGlobalRef().
parent 32201946
No related branches found
No related tags found
No related merge requests found
......@@ -128,8 +128,6 @@ cancel_cb(void *p_data, libvlc_dialog_id *p_id)
(*env)->CallStaticVoidMethod(env, fields.Dialog.clazz,
fields.Dialog.cancelFromNativeID, jdialog);
(*env)->DeleteGlobalRef(env, jdialog);
}
static void
......
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