background: Remove the system noise content when not in use
https://bugzilla.gnome.org/show_bug.cgi?id=719803
This commit is contained in:
@ -634,7 +634,13 @@ const SystemBackground = new Lang.Class({
|
||||
this.emit('loaded');
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
|
||||
},
|
||||
|
||||
_onDestroy: function() {
|
||||
this._cache.removeImageContent(this.actor.content);
|
||||
},
|
||||
});
|
||||
Signals.addSignalMethods(SystemBackground.prototype);
|
||||
|
||||
|
Reference in New Issue
Block a user