Closed DHowett-MSFT closed 4 years ago
objc_delete_weak_refs doesn't delete the ref that it finds in the map here:
objc_delete_weak_refs
delete
https://github.com/gnustep/libobjc2/blob/59815ebc10191bda094579bf764103c13f15dceb/arc.mm#L869-L881
Sorry -- I got a little too trigger-happy here. Of course we can't delete WeakRef here: somebody is still holding on to it. It'll be cleaned up during destroyWeak.
WeakRef
destroyWeak
objc_delete_weak_refs
doesn'tdelete
the ref that it finds in the map here:https://github.com/gnustep/libobjc2/blob/59815ebc10191bda094579bf764103c13f15dceb/arc.mm#L869-L881