Permalink
Browse files

Merge pull request #913 from y0ssar1an/development

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 99d577af9289bd5347189649e51ddedff1787f4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 gosubl/margo.py
@@ -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]

0 comments on commit 99d577a

Please sign in to comment.