Don't return error on signal exit

This commit is contained in:
Daniel Hiltgen 2024-05-16 16:25:38 -07:00
parent 5bece94509
commit 02b31c9dc8

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