Skip to content

Commit

Permalink
fix: ensure ending a session triggers listeners (#2518)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Sep 29, 2024
1 parent 9b6ecb6 commit 7a037da
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 @@ -75,7 +75,7 @@ class WindowManager(Manager, WindowConfigChangeListener):
def __init__(self, window: sublime.Window, workspace: ProjectFolders, config_manager: WindowConfigManager) -> None:
self._window = window
self._config_manager = config_manager
self._sessions: WeakSet[Session] = WeakSet()
self._sessions: set[Session] = set()
self._workspace = workspace
self._pending_listeners: deque[AbstractViewListener] = deque()
self._listeners: WeakSet[AbstractViewListener] = WeakSet()
Expand Down

0 comments on commit 7a037da

Please sign in to comment.