mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
dbusServices: Allow to persist services via environment
Auto-shutdown prevents debugging a service with tools like d-feet, so allow turning it off with an environment variable. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2169>
This commit is contained in:
parent
9a2505f18c
commit
d7d484a8cd
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ var ServiceImplementation = class {
|
|||
if (!this._autoShutdown)
|
||||
return;
|
||||
|
||||
if (GLib.getenv('SHELL_DBUS_PERSIST'))
|
||||
return;
|
||||
|
||||
if (this._holdCount > 0)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue