Simplify getFiberManager
Summary: The call-once logic in getFiberManager was unnecessarily complex. getFiberManager should only be called on main context, so use a static var initialization to implement the call-once logic (using executor.cpp as an example). Reviewed By: yfeldblum Differential Revision: D25467655 fbshipit-source-id: c880b1740edf28944e772c9310f3e45f5612396d
Showing
Please register or sign in to comment