-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not attempt to acquire a write lock when resolving so dependencies
Summary: ReentrantReadWriteLocks do not allow promotion of read locks to write lock, causing a deadlock when this is attempted. This changes the logic to only run the source library reparsing when we're at the root level and do not already have the lock. Reviewed By: JamieEi, hick209 Differential Revision: D13581081 fbshipit-source-id: 33432700ac0913365127e540c746ec95a1a7710e
- Loading branch information
1 parent
ebc9e1e
commit ea661f5
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters