8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d204f commit 8343404Copy full SHA for 8343404
peer/conn.go
@@ -142,8 +142,6 @@ type Conn struct {
142
func (c *Conn) init() error {
143
c.rtc.OnNegotiationNeeded(c.negotiate)
144
c.rtc.OnICEConnectionStateChange(func(iceConnectionState webrtc.ICEConnectionState) {
145
- c.closeMutex.Lock()
146
- defer c.closeMutex.Unlock()
147
if c.isClosed() {
148
return
149
}
@@ -152,8 +150,6 @@ func (c *Conn) init() error {
152
150
slog.F("state", iceConnectionState))
153
151
})
154
c.rtc.OnICEGatheringStateChange(func(iceGatherState webrtc.ICEGathererState) {
155
156
157
158
159
0 commit comments