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:
parent
812378a00d
commit
b854c1bdbb
@ -61,7 +61,7 @@ var ExtensionManager = class extends Signals.EventEmitter {
|
|||||||
() => disableFile.delete(null));
|
() => disableFile.delete(null));
|
||||||
|
|
||||||
GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 60, () => {
|
GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 60, () => {
|
||||||
global.context.disconnect(shutdownId);
|
global.disconnect(shutdownId);
|
||||||
|
|
||||||
disableFile.delete(null);
|
disableFile.delete(null);
|
||||||
return GLib.SOURCE_REMOVE;
|
return GLib.SOURCE_REMOVE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user