]> git.sesse.net Git - nageru/commitdiff
Fix a lock that was held too long in an edge case.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 22 Jun 2017 23:20:49 +0000 (01:20 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 22 Jun 2017 23:20:49 +0000 (01:20 +0200)
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;
        }