Unverified Commit ba04afc9 authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

Merge pull request #4483 from dhiltgen/clean_exit

Don't return error on signal exit
parents 7e1e0086 02b31c9d
...@@ -1086,7 +1086,7 @@ func Serve(ln net.Listener) error { ...@@ -1086,7 +1086,7 @@ func Serve(ln net.Listener) error {
return err return err
} }
<-ctx.Done() <-ctx.Done()
return err return nil
} }
func waitForStream(c *gin.Context, ch chan interface{}) { func waitForStream(c *gin.Context, ch chan interface{}) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment