forked from third-party-mirrors/ollama
Merge pull request #4483 from dhiltgen/clean_exit
Don't return error on signal exit
This commit is contained in:
commit
ba04afc9a4
@ -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{}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user