mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez: clean up nodes
This commit is contained in:
parent
a79e6737a9
commit
2772c9f554
2 changed files with 14 additions and 5 deletions
|
|
@ -864,7 +864,7 @@ static int do_remove_source(struct spa_loop *loop,
|
|||
|
||||
static int do_stop(struct impl *this)
|
||||
{
|
||||
int res;
|
||||
int res = 0;
|
||||
|
||||
if (!this->started)
|
||||
return 0;
|
||||
|
|
@ -875,7 +875,8 @@ static int do_stop(struct impl *this)
|
|||
|
||||
this->started = false;
|
||||
|
||||
res = spa_bt_transport_release(this->transport);
|
||||
if (this->transport)
|
||||
res = spa_bt_transport_release(this->transport);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue