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
commit ba04afc9a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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