mirror of
https://github.com/ollama/ollama.git
synced 2025-06-30 01:31:05 +02: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
|
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{}) {
|
||||||
|
Reference in New Issue
Block a user