mirror of
https://github.com/pion/webrtc.git
synced 2025-09-26 19:21:12 +08:00
Added missing lock
This commit is contained in:
@@ -2880,6 +2880,9 @@ func (pc *PeerConnection) generateMatchedSDP(
|
||||
}
|
||||
}
|
||||
|
||||
pc.sctpTransport.lock.Lock()
|
||||
defer pc.sctpTransport.lock.Unlock()
|
||||
|
||||
var bundleGroup *string
|
||||
// If we are offering also include unmatched local transceivers
|
||||
if includeUnmatched { //nolint:nestif
|
||||
|
Reference in New Issue
Block a user