Skip to content

Commit

Permalink
Remove additional shutdown of Tchannel server (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaswiagarwal committed Oct 15, 2020
1 parent ff90150 commit 71d4c1a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions runtime/gateway.go
Expand Up @@ -422,15 +422,6 @@ func (gateway *Gateway) Shutdown() {
}
}()

// shutdown tchannel server
swg.Add(1)
go func() {
defer swg.Done()
if err := gateway.shutdownTChannelServer(ctx); err != nil {
ec <- errors.Wrap(err, "error shutting down tchannel server")
}
}()

// stop all grpc clients
if gateway.GRPCClientDispatcher != nil {
swg.Add(1)
Expand Down

0 comments on commit 71d4c1a

Please sign in to comment.