Skip to content

Even for queries with "persistent" set to true, CefQueryCallback->Success clears the reference to the callback #398

@magreenblatt

Description

@magreenblatt

Original report by Harsha Hapuarachchi (Bitbucket: harsharest).


CEF_VERSION - 87.1.12

The CEF message router docs describe multiple workflows for queries, one being the "subscription" style where the "persistent" flag is set to true in JS. In the "subscription" style workflow, the success callback can be repeatedly called.

Currently JCEF does not take this persistent value into account, and clears the reference to the CefMessageRouterBrowserSide::Callback when success is called. This results in a somewhat surprising behavior as the the callback's success method can be called repeatedly from java, however it does not result in the callback being called again.

Same issue as : #186/even-for-queries-with-persistent-set-to

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions