mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[player] Fix bug where device is always deselected before db_speaker_save()
This commit is contained in:
parent
5f84fefd1b
commit
f1493db069
@ -1226,10 +1226,8 @@ device_remove_family(void *arg, int *retval)
|
||||
// happen?) then the device will never be removed.
|
||||
if (!device->session)
|
||||
{
|
||||
if (device->selected)
|
||||
speaker_deselect_output(device);
|
||||
|
||||
outputs_device_remove(device);
|
||||
volume_master_find();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user