mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 15:16:52 +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
|
var bundleGroup *string
|
||||||
// If we are offering also include unmatched local transceivers
|
// If we are offering also include unmatched local transceivers
|
||||||
if includeUnmatched { //nolint:nestif
|
if includeUnmatched { //nolint:nestif
|
||||||
|
Reference in New Issue
Block a user