Skip to content

Commit

Permalink
chore: removed wg add
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenrinzema committed Nov 22, 2023
1 parent 963c984 commit fabfd5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ func (srv *Server) Serve(listener net.Listener) error {
return err
}

srv.wg.Add(1)

go func() {
defer srv.wg.Done()
ctx := context.Background()
err = srv.serve(ctx, conn)
if err != nil {
Expand Down

0 comments on commit fabfd5a

Please sign in to comment.