extensionSystem: Fix signal disconnection

The ::shutdown signal is on Shell.Global, not Meta.Context 🤦️

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2831>
This commit is contained in:
Florian Müllner 2023-07-09 22:26:29 +02:00
parent 812378a00d
commit b854c1bdbb

View File

@ -61,7 +61,7 @@ var ExtensionManager = class extends Signals.EventEmitter {
() => disableFile.delete(null));
GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 60, () => {
global.context.disconnect(shutdownId);
global.disconnect(shutdownId);
disableFile.delete(null);
return GLib.SOURCE_REMOVE;