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

Fixed attempt to join detached threads (fixes toxav test crash) #309

Merged
merged 1 commit into from
Dec 14, 2016

Conversation

pchk
Copy link

@pchk pchk commented Dec 9, 2016

Fixed race condition in the case when we already called toxav_kill but concurrent thread is actually still alive and is accessing its ToxAV instance. #278


This change is Reviewable

@GrayHatter GrayHatter added this to the v0.1.1 milestone Dec 10, 2016
@iphydf
Copy link
Member

iphydf commented Dec 10, 2016

Thanks. This makes sense. Can you also add return value checking to the join calls? Presumably they failed before, so we would have caught it much more easily if we didn't ignore return values.

@iphydf
Copy link
Member

iphydf commented Dec 11, 2016

Can you squash the commits into one? Make mention of both the fix and the return value check your added. If you can't, I can do it for you. Let me know.

@iphydf
Copy link
Member

iphydf commented Dec 12, 2016

:lgtm_strong:


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@iphydf iphydf changed the title Fixed attempt to join detached threads Fixed attempt to join detached threads (fixes toxav test crash) Dec 14, 2016
@iphydf iphydf merged commit 22fca79 into TokTok:master Dec 14, 2016
@iphydf iphydf mentioned this pull request Dec 14, 2016
This pull request was closed.
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.

4 participants