Skip to content

Commit

Permalink
cl locker print
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jun 8, 2024
1 parent 76ba97c commit 5ae8dbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion peerconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,10 @@ func (c *PeerConn) mainReadLoop() (err error) {
case pp.Extended:
func() {
cl.unlock()
defer cl.lock()
defer func() {
fmt.Println("MRL", "L", cl.locker().locker, "R", cl.locker().rlocker)
cl.lock()
}()
err = c.onReadExtendedMsg(msg.ExtendedID, msg.ExtendedPayload)
}()
default:
Expand Down

0 comments on commit 5ae8dbb

Please sign in to comment.