Fix deadlock in ICEAgent, early exit failed to unlock mutex

Reported+Fixed by @backkem
This commit is contained in:
Sean DuBois
2018-08-15 12:05:39 -07:00
parent c336581420
commit ae2ee106e6

View File

@@ -146,6 +146,7 @@ func (a *Agent) agentTaskLoop() {
a.Lock()
if a.isControlling {
if assertSelectedPairValid() {
a.Unlock()
continue
}