mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspaceThumbnail: Destroy thumbnails on destruction
Often, when using multiple monitors, the thumbnails box may be destroyed before the 'hidden' signal of the Overview is emitted, which leaves a bunch of lingering signal connections to the workspace manager. Call this._destroyThumbnails() in the _onDestroy handler, which disconnects from workspace manager. This fixes the some of the log spam that GNOME Shell produces with backtraces of destroyed actors. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1860>
This commit is contained in:
parent
e6089c83e2
commit
e9119c625d
1 changed files with 1 additions and 0 deletions
|
|
@ -720,6 +720,7 @@ var ThumbnailsBox = GObject.registerClass({
|
|||
}
|
||||
|
||||
_onDestroy() {
|
||||
this._destroyThumbnails();
|
||||
this._unqueueUpdateStates();
|
||||
|
||||
if (this._scrollValueId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue