Open
Description
openedon Aug 9, 2018
It stores them in an std::map
, which can be (and often is) reallocated. Reallocation events in the map family invalidate existing storage.
It’s also not using objc_loadWeak under the assumption that zeroing weak references are zeroed at the time of deallocation instead of at time of load.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment