cbfbdc4be5
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> |
||
---|---|---|
.. | ||
extensions | ||
notifications | ||
screencast | ||
screensaver | ||
dbus-service.in | ||
dbus-service.service.in | ||
dbusService.js | ||
meson.build | ||
org.gnome.ScreenSaver.src.gresource.xml | ||
org.gnome.Shell.Extensions.src.gresource.xml | ||
org.gnome.Shell.Notifications.src.gresource.xml | ||
org.gnome.Shell.Screencast.src.gresource.xml |