[PR #4304] [MERGED] Fix race in shutdown logic #37322

Closed
opened 2026-04-22 22:02:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4304
Author: @dhiltgen
Created: 5/9/2024
Status: Merged
Merged: 5/9/2024
Merged by: @dhiltgen

Base: mainHead: signals


📝 Commits (1)

  • 3ae2f44 Fix race in shutdown logic

📊 Changes

1 file changed (+13 additions, -5 deletions)

View changed files

📝 server/routes.go (+13 -5)

📄 Description

Ensure the runners are terminated

Fixes #4267


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/4304 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 5/9/2024 **Status:** ✅ Merged **Merged:** 5/9/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `signals` --- ### 📝 Commits (1) - [`3ae2f44`](https://github.com/ollama/ollama/commit/3ae2f441e05af8e42f3030920b087b7c2e2afc7b) Fix race in shutdown logic ### 📊 Changes **1 file changed** (+13 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+13 -5) </details> ### 📄 Description Ensure the runners are terminated Fixes #4267 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 22:02:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#37322