Skip to content

Commit

Permalink
Merge pull request #133 from mantis/patch-1
Browse files Browse the repository at this point in the history
Stop server shutdown hanging on error
  • Loading branch information
dunglas committed Aug 21, 2019
2 parents a782bf8 + 966f08b commit 411dac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (h *Hub) Serve() {
}

if err != http.ErrServerClosed {
log.Error(err)
log.Fatal(err)
}

<-idleConnsClosed
Expand Down

0 comments on commit 411dac3

Please sign in to comment.