ReadMostlySharedPtrTest, subtle test bug caught by -fsanitize-address-use-after-scope
Summary: Because these `atomic<int>` are referenced in the destructor of the `ReadMostlyMainPtr`, they must be declared before it, otherwise they are destroyed before it i. Reviewed By: yfeldblum Differential Revision: D4854964 fbshipit-source-id: 625a8f890bba166b682ca13558f8bcde86edcc75
Showing
Please register or sign in to comment