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 authPrompt: Also replace full-width colon 2023-02-13 20:32:21 +00:00
misc misc/objectManager: Fix emission of object-removed signal 2023-04-05 18:43:51 +00:00
perf tests/closeWithActiveWindows: Also test input method tear down 2023-04-20 14:52:01 +02:00
portalHelper portalHelper: Use libadwaita instead of plain Gtk4 2023-04-25 10:45:19 +00:00
ui status/bluetooth: Use 'Alias' for item labels 2023-04-25 14:16:42 +00:00
js-resources.gresource.xml tests/perf: Add test for shutdown with open window 2023-04-20 14:49:38 +02:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00