Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
background: disable gc before forking
Summary: We encountered an issue where gc kicked in after forking the Python process. This cause it to trigger some Rust drop logic which hung because some cross thread locks were not in a good state. Let's just disable gc during the fork and only reenable it in the parent process. Reviewed By: quark-zju Differential Revision: D22855986 fbshipit-source-id: c3e99fb000bcd4cc141848e6362bb7773d0aad3d
- Loading branch information