1
0
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:
jfreegman
2021-03-27 11:50:57 -04:00
parent 80fd3d3b97
commit 0fc1d9e994
2 changed files with 2 additions and 0 deletions

View File

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