-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gumjs: Relinquish JS lock while unreffing modules
To avoid deadlocking in case dispose() releases a cached handle. Such an operation typically requires acquiring a runtime linker lock. Another thread might already be holding that lock while waiting for the JS lock. A common scenario for that to happen is that the agent registers a callback with the runtime linker, called whenever a module is loaded or unloaded. Kudos to @mrmacete for reporting.
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 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