]> git.sesse.net Git - nageru/blobdiff - mixer.cpp
Fix a lock that was held too long in an edge case.
[nageru] / mixer.cpp
index 6ed62113ff4f775edfb3e110be77db8f7a136bf5..302a97c46e4a070a20366a739efcd91be704c5b3 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -1084,6 +1084,7 @@ start:
                // and then restart.
                assert(cards[master_card_index].capture->get_disconnected());
                handle_hotplugged_cards();
+               lock.unlock();
                goto start;
        }