mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
Don't return error on signal exit
This commit is contained in:
@@ -1086,7 +1086,7 @@ func Serve(ln net.Listener) error {
|
||||
return err
|
||||
}
|
||||
<-ctx.Done()
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
func waitForStream(c *gin.Context, ch chan interface{}) {
|
||||
|
||||
Reference in New Issue
Block a user