Skip to content

Commit 91f34a7

Browse files
committed
fixup! wsjs: Ensure no goroutines leak after Close
1 parent e72696e commit 91f34a7

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
@@ -134,7 +134,7 @@ func newConn(cfg connConfig) *Conn {
134134
c.wg.Add(1)
135135
go func() {
136136
defer c.wg.Done()
137-
c.timeoutLoop
137+
c.timeoutLoop()
138138
}()
139139

140140
return c

0 commit comments

Comments
 (0)