Skip to content

Commit 4e9dab4

Browse files
committed
fixup! fix: force logs to flush on close in peer.(*Conn)
1 parent f38c771 commit 4e9dab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peer/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type Conn struct {
110110
closedRTCMutex sync.Mutex
111111
closedICE chan struct{}
112112
closedICEMutex sync.Mutex
113-
closeMutex sync.RWMutex
113+
closeMutex sync.Mutex
114114
closeError error
115115

116116
dcOpenChannel chan *webrtc.DataChannel

0 commit comments

Comments
 (0)