Skip to content

Conversation

@pvoglhofer
Copy link
Contributor

It looks like $resource/$request never gets freed if
$resource->get_data_finish($result); is called within the callback
(even if this is correct according to the webkit docs).

It looks like $resource/$request never gets freed if
$resource->get_data_finish($result); is called within the callback
(even if this is correct according to the webkit docs).
@pvoglhofer pvoglhofer requested a review from jscarty October 16, 2020 10:19
@jscarty
Copy link
Member

jscarty commented Oct 16, 2020

Looks good seems to be a better implementation to ensure the operation is completed. For reference the resource is this
#82

https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebResource.html

Copy link
Member

@jscarty jscarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, sensible way to make sure the operation completes.

@jscarty jscarty merged commit e87feff into master Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants