CxxUtils: Fix potential race in ConcurrentRangeMap::trim().
- Jan 06, 2019
-
-
scott snyder authored
When finishing the trim() operation, the begin pointer must be updated before queuing the dummy impl object for discard. Otherwise, another thread could potentially see a pointer to a deleted object. Trying to fix infrequent crashes in CondCont_test observed in nightlies and CI.
-