Skip to content

Commit e410eab

Browse files
committed
add mutex comment
1 parent e8f5b51 commit e410eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type Conn struct {
8080
closeReadDone chan struct{}
8181

8282
closing atomic.Bool
83-
closeMu sync.Mutex
83+
closeMu sync.Mutex // Protects following.
8484
closed chan struct{}
8585

8686
pingCounter atomic.Int64

0 commit comments

Comments
 (0)