mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
more work on cleanup
This commit is contained in:
parent
e632540983
commit
7e5fcf6771
7 changed files with 114 additions and 42 deletions
|
|
@ -405,6 +405,12 @@ subscription_cb (PvSubscribe *subscribe,
|
|||
break;
|
||||
|
||||
case PV_SUBSCRIPTION_FLAGS_CLIENT:
|
||||
if (event == PV_SUBSCRIPTION_EVENT_REMOVE) {
|
||||
if (object == priv->client) {
|
||||
priv->error = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_CLOSED, "Client disappeared");
|
||||
context_set_state (context, PV_CONTEXT_STATE_ERROR);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case PV_SUBSCRIPTION_FLAGS_SOURCE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue