From 1236bf8f095cca5cc15d5ce012ac4dbc8ff5da6f Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Sun, 12 Feb 2023 18:20:15 +0100 Subject: [PATCH] gdmUtil: Fix SignalTracker leak in ShellUserVerifier ShellUserVerifier was connecting to UserVerifierChoiceList signals using SignalTracker, but never disconnected those, leading to the corresponding SignalTracker being leaked. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6395 Part-of: --- js/gdm/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/gdm/util.js b/js/gdm/util.js index 3d535659c..78c45cbba 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -520,6 +520,7 @@ var ShellUserVerifier = class extends Signals.EventEmitter { _disconnectSignals() { this._userVerifier?.disconnectObject(this); + this._userVerifierChoiceList?.disconnectObject(this); } _getForegroundService() {