Skip to content

Commit a8aed7e

Browse files
authored
Merge pull request #296 from esauvisky/fix-systemctl-spam
WorkspaceSwitcherPopup: fix spam on systemd journal
2 parents 0d01301 + d413591 commit a8aed7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

[email protected]/workspacePopup/workspaceSwitcherPopup.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,15 @@ class WorkspaceSwitcherPopup extends SwitcherPopup {
190190
this._noModsTimeoutId = 0;
191191
}
192192

193+
this._items.forEach((x) => x.destroy());
194+
this._items = [];
195+
193196
super._onDestroy();
194197

195198
while (modals.length > 0) {
196199
modals.pop().destroy();
197200
}
198201

199-
this._items.forEach((x) => x.destroy());
200-
this._items = [];
201202
}
202203

203204
vfunc_allocate(box) {

0 commit comments

Comments
 (0)