Skip to content

Decrement the mutex use count after we've unlocked them.#876

Merged
johnhaley81 merged 1 commit intomasterfrom
fix-mutex-cleanup-race
Jan 21, 2016
Merged

Decrement the mutex use count after we've unlocked them.#876
johnhaley81 merged 1 commit intomasterfrom
fix-mutex-cleanup-race

Conversation

@joshaber
Copy link
Copy Markdown
Collaborator

Maybe/hopefully fixes #869.

/cc @srajko

@joshaber
Copy link
Copy Markdown
Collaborator Author

This is predicated on my theory in #869 (comment) being correct. This is the simplest fix, but not as efficient as it could be. I'm not sure how much we care.

@srajko
Copy link
Copy Markdown
Collaborator

srajko commented Jan 21, 2016

This looks good! I'm not too worried about efficiency at this point, but that's just me.

@joshaber
Copy link
Copy Markdown
Collaborator Author

I'm not too worried about efficiency at this point, but that's just me.

Yup, me neither 👍

@johnhaley81
Copy link
Copy Markdown
Collaborator

👍

johnhaley81 added a commit that referenced this pull request Jan 21, 2016
Decrement the mutex use count after we've unlocked them.
@johnhaley81 johnhaley81 merged commit 69d83c0 into master Jan 21, 2016
@johnhaley81 johnhaley81 deleted the fix-mutex-cleanup-race branch January 21, 2016 21:54
@maxbrunsfeld
Copy link
Copy Markdown

👏

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.

Crash cleaning up mutexes

4 participants