Skip to content

Commit

Permalink
Merge pull request #913 from y0ssar1an/development
Browse files Browse the repository at this point in the history
Fix crash from deleting keys while iterating over dict in hud_panel()
  • Loading branch information
DisposaBoy committed Feb 10, 2019
2 parents 66dc145 + 25a9e5d commit 99d577a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gosubl/margo.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def hud_panel(self, win):

if len(m) > 1:
wids = [w.id() for w in sublime.windows()]
for id in m.keys():
for id in list(m.keys()):
if id not in wids:
del m[id]

Expand Down

0 comments on commit 99d577a

Please sign in to comment.