gnome-shell/js/ui/status
Philip Withnall 8bb9eb0fc9 keyboard: Disconnect from input source manager when destroying indicator
When an InputSourceIndicator is destroyed, the InputSourceManager it was
connected to could (and probably will) outlive it (since the manager is
a singleton). If the InputSourceManager emits any subsequent signals,
the callbacks from the finalised InputSourceIndicator could be invoked,
and will reference finalised objects.

This can be triggered by running `pkexec true` from a gnome-terminal
window, then calling `pkill pkexec` from another terminal (on a
different VT or via SSH). This causes the dialogue to be cancelled by
polkitd.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/357
2019-01-24 14:48:48 +00:00
..
accessibility.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
bluetooth.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
brightness.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
keyboard.js keyboard: Disconnect from input source manager when destroying indicator 2019-01-24 14:48:48 +00:00
location.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
network.js animation: Add dedicated Spinner class 2019-01-16 17:44:42 +00:00
nightLight.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
power.js power: Label the PENDING_CHARGE state as "Not Charging" 2018-11-14 13:51:26 -08:00
remoteAccess.js remoteAccess: Make indicator orange 2018-07-27 18:10:35 +02:00
rfkill.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
screencast.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
system.js altSwitcher: Fix error when all alternatives are disabled 2018-11-17 12:18:23 +00:00
thunderbolt.js thunderbolt: only try to enroll if we are allowed 2019-01-18 22:10:23 +01:00
volume.js volume: Port to MetaSoundPlayer for emitting sounds 2019-01-09 23:09:18 +00:00