Skip to content
  • George Kiagiadakis's avatar
    daemon: quit when the pipewire remote disconnects or signals an error · 1962a8ca
    George Kiagiadakis authored
    This is implemented in a slightly hacky way, we register the GMainLoop
    as a global object and use it from the module to quit the daemon.
    This is bad design because the module assumes it is loaded inside
    our daemon.
    
    In the future, this should change. It looks like we should have an
    object that tracks the state of PipeWire and main() should track
    state changes of that object and decide what to do.
    1962a8ca