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

async: clear callback function pointer after use (#992) #993

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Oct 30, 2023

This solve some strange race condition which results in calling cb twice for
one async work object.

This solve some strange race condition which results in calling `cb` twice for
one async work object.
@sreimers
Copy link
Member

I think we can merge both PR's, it's a bit redundant, but it does not hurt much and prevent maybe other bugs, the root cause was wrong free list handling: #995

@sreimers sreimers merged commit 6ac2e91 into baresip:main Oct 31, 2023
34 checks passed
@cspiel1 cspiel1 deleted the async_avoid_twice_callback branch October 31, 2023 14:24
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