Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

ensure write lock isn't held when calling handlers #4285

Merged
merged 1 commit into from
Jan 24, 2017

Conversation

rphmeier
Copy link
Contributor

Fixes lightsync test deadlocks.

The code as written actually should have released the write lock before invoking the handlers, but the drop glue released the lock only after the desugared match.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 24, 2017
@NikVolf NikVolf added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 24, 2017
@NikVolf NikVolf mentioned this pull request Jan 24, 2017
@gavofyork gavofyork merged commit b739704 into master Jan 24, 2017
@gavofyork gavofyork deleted the fix-lightsync-dl branch January 24, 2017 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants