dbusService: Queue shutdown check on startup
If something started the service, but crashed before managing to make a method call, we'd end up with the service running indefinitely. Fix this by queueing a shutdown check immediately on startup. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1372
This commit is contained in:
parent
20dcc8aa87
commit
73436b5276
@ -25,6 +25,8 @@ var ServiceImplementation = class {
|
||||
|
||||
// subclasses may override this to disable automatic shutdown
|
||||
this._autoShutdown = true;
|
||||
|
||||
this._queueShutdownCheck();
|
||||
}
|
||||
|
||||
// subclasses may override this to own additional names
|
||||
|
Loading…
Reference in New Issue
Block a user