[NSHashTable weakObjectHashTable] count being non 0 with all objects losing reference

Originator:hugosslade
Number:rdar://14879174 Date Originated:30/08/13
Status:Open Resolved:No
Product:iOS SDK Product Version:6.1
Classification:Unexpected Behaviour Reproducible:Yes
 
[NSHashTable weakObjectsHashTable] count returns the highest count that the hashTable had, but there are no objects inside it.

Using allObjects or setRepresentation then performing count returns 0.

Using a for in loop to count non-nil objects returns 0

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!