• P V's avatar
    dbus: keep a ref to DBusConnection if reconnecting is not handled · 2b515b5e
    P V authored
    Several places in the code don't handle reconnecting DBus connections
    yet. In those cases, a ref to the DBusConnection handle needs to be
    kept, so that there's no use-after-free if it gets freed by spa_dbus
    if the connection is broken.
    Adjust spa_dbus so that others keeping additional refs is safe.