gnome-shell/js/dbusServices
Florian Müllner 4d2b008966 dbusServices/extensions: Fix shutdown after showing prefs
GTK4 relies entirely on refcounting for cleanup (that is,
there is no longer a destroy() method that forces a dispose
run regardless of the refcount).

Unfortunately that makes cleanup harder in (some) language
bindings, where an object may be kept alive implicitly by
closures etc.

Address this by releasing the hold count when the window
is closed rather than when it is destroyed.

This isn't the most elegant, but it ensure that the service
doesn't get stuck if an extension doesn't carefully clean
up everything in its prefs widget.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4564

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2013>
2021-10-30 21:50:47 +00:00
..
extensions dbusServices/extensions: Fix shutdown after showing prefs 2021-10-30 21:50:47 +00:00
notifications notificationDaemon: Fix grouping by PID 2020-05-19 08:24:07 +00:00
screencast dbusServices/screencast: Handle pipeline failures gracefully 2021-06-09 15:21:35 +00:00
screensaver dbusServices/screensaver: Disable auto-shutdown 2021-04-28 18:12:13 +00:00
dbus-service.in dbusServices: Add some base classes for small stand-alone services 2020-03-12 16:09:27 +00:00
dbus-service.service.in dbusServices: Add some base classes for small stand-alone services 2020-03-12 16:09:27 +00:00
dbusService.js dbusService: Queue shutdown check on startup 2020-07-31 10:51:12 +02:00
meson.build dbusServices/screensaver: Split out public ScreenSaver service 2020-12-07 16:24:19 +00:00
org.gnome.ScreenSaver.src.gresource.xml dbusServices/screensaver: Split out public ScreenSaver service 2020-12-07 16:24:19 +00:00
org.gnome.Shell.Extensions.src.gresource.xml dbusServices/extensions: Include Params module 2020-03-24 10:38:24 +01:00
org.gnome.Shell.Notifications.src.gresource.xml dbusServices/notifications: Add a separate notification daemon 2020-03-12 16:09:27 +00:00
org.gnome.Shell.Screencast.src.gresource.xml Move screencasting into a separate service process 2020-07-31 10:51:12 +02:00