diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-23 13:50:38 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-23 13:50:38 +0800 |
| commit | d3462ee56bf689b40738cdf5e9a3b378e9996d4e (patch) | |
| tree | 0eb6b5838193383e787d6d0a889c4460d89d1827 /modules/bar/components/workspaces | |
| parent | dashboard: fix bongo cat playing when no media (diff) | |
| download | caelestia-shell-d3462ee56bf689b40738cdf5e9a3b378e9996d4e.tar.gz caelestia-shell-d3462ee56bf689b40738cdf5e9a3b378e9996d4e.tar.bz2 caelestia-shell-d3462ee56bf689b40738cdf5e9a3b378e9996d4e.zip | |
internal: fix memory leaks
Diffstat (limited to 'modules/bar/components/workspaces')
| -rw-r--r-- | modules/bar/components/workspaces/OccupiedBg.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/components/workspaces/OccupiedBg.qml b/modules/bar/components/workspaces/OccupiedBg.qml index 00f9666..9de3d5b 100644 --- a/modules/bar/components/workspaces/OccupiedBg.qml +++ b/modules/bar/components/workspaces/OccupiedBg.qml @@ -36,7 +36,7 @@ Item { } } if (pills.length > count) - pills.splice(count, pills.length - count); + pills.splice(count, pills.length - count).forEach(p => p.destroy()); } Repeater { |