Revert "signalTracker: Use WeakMap in SignalManager to avoid leaking objects"

This reverts commit 085102be74.

We need the SignalManager map top be iterable at shutdown for some of
the following changes. A WeakMap is not iterable. This revert changes it
back to a regular Map, which re-introduces the leaks caused by this.
Those will be fixed differently by the two followup commits.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2466>
This commit is contained in:
Sebastian Keller 2022-09-02 18:37:13 +02:00 committed by Marge Bot
parent 6a23e8ee0f
commit d57953ad94

View File

@ -42,7 +42,7 @@ class SignalManager {
}
constructor() {
this._signalTrackers = new WeakMap();
this._signalTrackers = new Map();
}
/**