EASTL
EASTL copied to clipboard
fix TSAN warnings about on clearing empty hashtables
Different empty instances of hashtable (hast_map, hash_set...) are all pointing to the same global memory region gpEmptyBucketArray. Rewrite hashtable<>::DoFreeNodes in such way to avoid writing into said memory.
Caught by ThreadSanitizer on clear'ing different (but empty) hashtable instances