We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Add
1 parent caa044a commit e69ea10Copy full SHA for e69ea10
1 file changed
conn.go
@@ -191,9 +191,9 @@ func NewConn(conn net.Conn, isTLS bool) *Conn {
191
192
// Start initializes goroutines to read responses and process messages
193
func (l *Conn) Start() {
194
+ l.wgClose.Add(1)
195
go l.reader()
196
go l.processMessages()
- l.wgClose.Add(1)
197
}
198
199
// IsClosing returns whether or not we're currently closing.
0 commit comments