3 Commits (b7021f7488bb7a7eeaf310cfcd382d9fb83bac9f)

Author SHA1 Message Date
David Chisnall 336d8a828c Fix test failure.
This bug is also present in the original version:

When removing a WeakRef from the map, we use its obj field to find the
key, but the obj field has already been zeroed by this point and so we
end up leaving dangling pointers in the map.
7 years ago
David Chisnall af55c29007 Fix the build on Windows. 7 years ago
David Chisnall 3f38f691af Rework ARC code as C++.
Move the weak references hash table to use a well-tested third-party
implementation instead of the hand-rolled version.
7 years ago