mirror of
https://github.com/netbirdio/netbird.git
synced 2025-07-18 07:04:57 +02:00
Fix deadlock
This commit is contained in:
@ -139,6 +139,7 @@ func (w *WorkerICE) OnNewOffer(remoteOfferAnswer *OfferAnswer) {
|
||||
agent, err := w.reCreateAgent(agentCancel, preferredCandidateTypes)
|
||||
if err != nil {
|
||||
w.log.Errorf("failed to recreate ICE Agent: %s", err)
|
||||
w.muxAgent.Unlock()
|
||||
return
|
||||
}
|
||||
w.agent = agent
|
||||
|
Reference in New Issue
Block a user