Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
threads: avoid deadlock from recursive lock acquire
Finalizers can't safely acquire many essential locks (such as the iolock, to cleanup libuv objects) if they are run inside another lock. Therefore, inhibit all finalizers on the thread until all locks are released (previously, this was only true for our internal locks).
- Loading branch information