mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
9395485822
Summary: @public Previously, ContextContainer could store only `shared_ptr`s, but now it wraps all values in own `shared_ptr` container. I wish we can use `unique_ptr` here, but apparently we cannot because `unique_ptr` does not support type-erasure (`std::unique_ptr<void>` is illigal). Becasue ContextContainer is not supposed to be used in hot paths, the performance aspect of that does not actually matter. Reviewed By: mdvacca Differential Revision: D8853446 fbshipit-source-id: e5d0a5595fe44c59f1395d6ffccf9d3fed923c83