-
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.
Release lib lock before JniOnLoad to avoid deadlock on re-entry
Summary: Re-entering SoLoader.loadLibrary within invokeJniOnload can lead to deadlock due to the hold of loadingLibLock. We trust invokeJniOnload to handle this correctly without the lock. Reviewed By: simpleton Differential Revision: D23720143 fbshipit-source-id: 07d3d3e327b5d7bc26a2d4dd0557524e61c0010f
- Loading branch information
1 parent
cd51d00
commit 06e415e
Showing
1 changed file
with
39 additions
and
39 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