Fixed a potential deadlock in folly::RWSpinLock