Commit a321180
committed
Iterate over a copy of keys when moving fields in the logging event
This prevents a "dictionary changed size during iteration" exception
because before we iterated over the dictionary while modifying its
contents which is never a good idea.
Closes #2.1 parent 321a99a commit a321180
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
197 | | - | |
| 196 | + | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
0 commit comments