Skip to content

wpeview: Remove the ScopedFD helper - #287

Merged
alexgcastro merged 1 commit into
mainfrom
alex/remove-scopedfd
Aug 4, 2026
Merged

wpeview: Remove the ScopedFD helper#287
alexgcastro merged 1 commit into
mainfrom
alex/remove-scopedfd

Conversation

@alexgcastro

Copy link
Copy Markdown
Collaborator

The buffer release fence in BufferReleasedCallbackData was its only user. Hold the file descriptor as a plain int and close it in the destructor when it has not been handed over to
wpe_buffer_set_release_fence(), which also drops the heap allocation per released buffer, and delete the helper.

The buffer release fence in BufferReleasedCallbackData was its only
user. Hold the file descriptor as a plain int and close it in the
destructor when it has not been handed over to
wpe_buffer_set_release_fence(), which also drops the heap allocation
per released buffer, and delete the helper.
@alexgcastro
alexgcastro merged commit ed672ea into main Aug 4, 2026
6 checks passed
@alexgcastro
alexgcastro deleted the alex/remove-scopedfd branch August 4, 2026 11:44
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.

2 participants