[player] Fix bug where device is always deselected before db_speaker_save()

This commit is contained in:
ejurgensen 2019-03-28 10:47:58 +01:00
parent 5f84fefd1b
commit f1493db069

View File

@ -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();
}
}