Merge pull request #531 from Jsewill/patch-2

Update server.go
This commit is contained in:
Vincent Demeester 2016-07-14 11:28:29 +02:00 committed by GitHub
commit 0a9070c394

View file

@ -108,6 +108,7 @@ func (server *Server) Close() {
server.routinesPool.Stop() server.routinesPool.Stop()
close(server.configurationChan) close(server.configurationChan)
close(server.configurationValidatedChan) close(server.configurationValidatedChan)
signal.Stop(server.signals)
close(server.signals) close(server.signals)
close(server.stopChan) close(server.stopChan)
server.loggerMiddleware.Close() server.loggerMiddleware.Close()