Fix iterator for issue #2438.
Fix iterator for issue #2438.

Itereator misuse due to analyzeLatencyForEvent() accessing the
dictionary during the iteration, without the iterator being
reclared as safe.

mopuri-sandeep/disque,CodyReichert/disque,Koed00/disque,ErikDubbelboer/disque,sunheehnus/disque,tempbottle/disque,antirez/disque,jmptrader/disque,CodyReichert/disque,tempbottle/disque,mopuri-sandeep/disque,lamby/disque,chen-tian/disque,seppo0010/disque,themage/disque,lamby/pkg-disque,felixbuenemann/disque,jmptrader/disque,hanicker/disque,antirez/disque,lamby/disque,lamby/pkg-disque,jmptrader/disque,themage/disque,felixbuenemann/disque,Koed00/disque,ErikDubbelboer/disque,sunheehnus/disque,themage/disque,seppo0010/disque,chen-tian/disque,hanicker/disque