Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
b2b_entities: avoid deadlock for certain scenarios
When a call was terminted with a BYE from the handler of the 200 OK reply, the entities lock would remain locked, generating a deadlock. This commit fixes this (and possible other) situations by generically keeping a track when the lock is taken and unlock it before exiting. Thanks to Vlad Patrascu for helping with debugging and solution for this (cherry picked from commit 87661e1)
- Loading branch information