Replace cacheIterator with Iterator Returned from erase

Authored by narvaez on Jun 5 2015, 7:04 AM.

Description

Replace cacheIterator with Iterator Returned from erase

It's in general a bad idea to keep iterators to modified containers. In
particular, this was causing a crash in a very strange corner case I did
not fully understand, but this change fixed it.

REVIEW: 124012

Details

Committed
narvaezJun 5 2015, 3:28 PM
Parents
R32:df3523582699: No need to sync when calling function recursively
Branches
Unknown
Tags
Unknown