mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 01:16:35 +01:00
Add two missing mutex unlocks
This commit is contained in:
@@ -575,6 +575,7 @@ DeviceError close_device(DeviceType type, uint32_t device_idx)
|
||||
Device *device = &audio_state->devices[type][device_idx];
|
||||
|
||||
if (!device->active) {
|
||||
unlock(type);
|
||||
return de_DeviceNotActive;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user