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

oboe: use shared_ptr for callbacks #1626

Merged
merged 2 commits into from
Sep 21, 2022
Merged

oboe: use shared_ptr for callbacks #1626

merged 2 commits into from
Sep 21, 2022

Conversation

philburk
Copy link
Collaborator

Pass data and error callbacks to builder using a shared_ptr. Deprecate methods that pass raw pointers.

This is to avoid the callback getting deleted while the error callback is active.

Fixes #1603

Pass data and error callbacks to builder using a shared_ptr.
Deprecate methods that pass raw pointers.

This is to avoid the callback getting deleted while the
error callback is active.

Fixes #1603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants