Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: make OwnedDisplayHandle wrap an opaque type #3982

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

kchibisov
Copy link
Member

This will help in case we want to linger the event loop during drop
to prevent use after free in the consumers code.f

--

Depends on #3980

@kchibisov
Copy link
Member Author

kchibisov commented Nov 2, 2024

@notgull we can probably leak the C types(wl_display/x11 connection) when shutting down the event loop if they still have uses?

src/event_loop.rs Show resolved Hide resolved
@kchibisov kchibisov force-pushed the kchibisov/arc-display-handle branch from fb21429 to 3790790 Compare November 12, 2024 13:12
This will help in case we want to linger the event loop during drop
to prevent use after free in the consumers code.
@kchibisov kchibisov force-pushed the kchibisov/arc-display-handle branch from 3790790 to b5b7ffd Compare November 12, 2024 13:23
@kchibisov kchibisov marked this pull request as ready for review November 12, 2024 13:24
@kchibisov kchibisov requested a review from notgull November 12, 2024 13:24
@kchibisov kchibisov merged commit 59b1eb5 into master Nov 13, 2024
58 checks passed
@kchibisov kchibisov deleted the kchibisov/arc-display-handle branch November 13, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants