Skip to content

Commit

Permalink
iconCache: Do not dispose the icon when clearing the cache
Browse files Browse the repository at this point in the history
The icon can be a property of the Gio.EmblemedIcon and we should not
dispose it as its parent doesn't support handling the child removal

Fixes: #273
  • Loading branch information
3v1n0 committed Mar 26, 2021
1 parent 5ce5c54 commit 14805b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iconCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ var IconCache = class AppIndicatorsIconCache {
_remove(id) {
Util.Logger.debug(`IconCache: removing ${id}`);

this._cache.get(id).run_dispose();
this._cache.delete(id);
this._lifetime.delete(id);
}
Expand Down

0 comments on commit 14805b7

Please sign in to comment.