mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 20:11:38 +08:00
We ran into "RuntimeError: OrderedDict mutated during iteration" when running this script. The problem was that we were mutating the `pkg_data` while also iterating over it. Per https://stackoverflow.com/a/52549728 the fix is to copy the package data and pop from there. R=jacktfranklin@chromium.org Bug: 1304218 Change-Id: Ibaeb3f1e26ca346c794984311c082bb2f9e672c9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3509847 Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org> Auto-Submit: Tim Van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>