mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: don't exit if system DBus goes down
Similarly as in spa_dbus, don't exit if bus goes down. Neither the audio or midi Bluetooth backend reconnects to DBus, but they shouldn't exit the process.
This commit is contained in:
parent
e0d3092f0a
commit
f5d544d996
2 changed files with 4 additions and 0 deletions
|
|
@ -808,6 +808,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
g_dbus_connection_set_exit_on_close(this->conn, FALSE);
|
||||
|
||||
this->manager = g_dbus_object_manager_server_new(MIDI_OBJECT_PATH);
|
||||
if (!this->manager){
|
||||
spa_log_error(this->log, "Creating GDBus object manager failed");
|
||||
|
|
|
|||
|
|
@ -1979,6 +1979,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
g_dbus_connection_set_exit_on_close(this->conn, FALSE);
|
||||
|
||||
this->node.iface = SPA_INTERFACE_INIT(
|
||||
SPA_TYPE_INTERFACE_Node,
|
||||
SPA_VERSION_NODE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue