1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 21:07:03 +00:00
This commit is contained in:
Makis Maropoulos
2016-06-18 01:14:57 +03:00
parent 5060cf4f5e
commit a245a19d02
4 changed files with 44 additions and 44 deletions

View File

@@ -238,7 +238,7 @@ func (srv *Server) interruptChan() chan os.Signal {
}
func (srv *Server) handleInterrupt(interrupt chan os.Signal, quitting chan struct{}, listener net.Listener) {
for _ = range interrupt {
for range interrupt {
if srv.Interrupted {
srv.log("already shutting down")
continue