Commit d6522aae authored by Thomas Guillem's avatar Thomas Guillem

dialog: fix double DeleteGlobalRef

cancel_cb cause nativeDismiss to be called that will call DeleteGlobalRef().
parent 5f7b03ce
......@@ -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
......
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