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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2637>
This commit is contained in:
parent
572d011894
commit
1236bf8f09
@ -520,6 +520,7 @@ var ShellUserVerifier = class extends Signals.EventEmitter {
|
|||||||
|
|
||||||
_disconnectSignals() {
|
_disconnectSignals() {
|
||||||
this._userVerifier?.disconnectObject(this);
|
this._userVerifier?.disconnectObject(this);
|
||||||
|
this._userVerifierChoiceList?.disconnectObject(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
_getForegroundService() {
|
_getForegroundService() {
|
||||||
|
Loading…
Reference in New Issue
Block a user