Skip to content

Commit

Permalink
fixup! wsjs: Ensure no goroutines leak after Close
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Oct 19, 2023
1 parent e72696e commit 91f34a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func newConn(cfg connConfig) *Conn {
c.wg.Add(1)
go func() {
defer c.wg.Done()
c.timeoutLoop
c.timeoutLoop()
}()

return c
Expand Down

0 comments on commit 91f34a7

Please sign in to comment.