Skip to content

Commit

Permalink
Gemini: Fix negative waitgroup on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Dec 5, 2024
1 parent 917ce65 commit 4875166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exchanges/gemini/gemini_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func (g *Gemini) WsAuth(ctx context.Context, dialer *websocket.Dialer) error {
if err != nil {
return fmt.Errorf("%v Websocket connection %v error. Error %v", g.Name, endpoint, err)
}
g.Websocket.Wg.Add(1)
go g.wsFunnelConnectionData(g.Websocket.AuthConn)
return nil
}
Expand Down

0 comments on commit 4875166

Please sign in to comment.