gnome-shell/js
Jonas Dreßler cbfbdc4be5 screencastService: Streamline teardown and error handling
We're tracking three different state-machines in the Recorder object:
The state of the gstreamer pipeline, the state of the screencast
session, and the sender of our dbus invocation that might vanish.

Properly handling errors that might appear in any of those three "black
boxes" is not easy, especially tearing down the other two when one of
them breaks.

So refactor the error handling here: Add a single error path for each of
those three states we're tracking, and make them all subsequently call
the _bailOutOnError() method. From there we tear down the other states and
call the error callbacks.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2197>
2023-04-25 17:17:41 +02:00
..
dbusServices screencastService: Streamline teardown and error handling 2023-04-25 17:17:41 +02:00
gdm
misc
perf
portalHelper
ui status/bluetooth: Use 'Alias' for item labels 2023-04-25 14:16:42 +00:00
js-resources.gresource.xml
meson.build
portal-resources.gresource.xml