highfidelity/hifi — pull request #1661 by ZappoMan (2014-01-23 21:03:35+00:00)
Title: another attempt to fix particle-server crash

The old code was stupid and I don't see how it worked at all... the iterator becomes borked after the remove() call...

This new strategy makes a separate list of keys to remove and then removes them without the iterator.