Skip to content

Commit

Permalink
Fix KeyError exception triggered on closing a window (#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Jan 26, 2024
1 parent 0842092 commit e3a03bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def listener_for_view(self, view: sublime.View) -> Optional[AbstractViewListener
def discard(self, window: sublime.Window) -> None:
wm = self._windows.pop(window.id(), None)
if wm:
wm.destroy()
sublime.set_timeout_async(wm.destroy)


class RequestTimeTracker:
Expand Down

0 comments on commit e3a03bc

Please sign in to comment.