Merge pull request #4483 from dhiltgen/clean_exit

Don't return error on signal exit
This commit is contained in:
Daniel Hiltgen
2024-05-17 11:41:57 -07:00
committed by GitHub

View File

@@ -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{}) {