[PR #3641] [MERGED] app: gracefully shut down ollama serve on windows #11229

Closed
opened 2026-04-12 23:24:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3641
Author: @jmorganca
Created: 4/14/2024
Status: Merged
Merged: 4/14/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/windows-proc-cleanup


📝 Commits (5)

  • 6843867 app: gracefully shut down ollama serve on windows
  • 2773391 fix linter errors
  • 3d3af1f bring back HideWindow
  • 816a94d remove creation flags
  • 6c292d3 restore windows.CREATE_NEW_PROCESS_GROUP

📊 Changes

3 files changed (+118 additions, -7 deletions)

View changed files

📝 app/lifecycle/server.go (+15 -6)
📝 app/lifecycle/server_unix.go (+26 -0)
📝 app/lifecycle/server_windows.go (+77 -1)

📄 Description

Fixes https://github.com/ollama/ollama/issues/3623


🔄 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/3641 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 4/14/2024 **Status:** ✅ Merged **Merged:** 4/14/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/windows-proc-cleanup` --- ### 📝 Commits (5) - [`6843867`](https://github.com/ollama/ollama/commit/6843867a0432d81cec5dbbb7b450bba4b6657dae) app: gracefully shut down `ollama serve` on windows - [`2773391`](https://github.com/ollama/ollama/commit/2773391a70993994d07991f06992af48f635476d) fix linter errors - [`3d3af1f`](https://github.com/ollama/ollama/commit/3d3af1fb24dd646a73546ec107ac3a3338ba04bc) bring back `HideWindow` - [`816a94d`](https://github.com/ollama/ollama/commit/816a94d259893ac5b8ab8cd2fabfe60e0be110bb) remove creation flags - [`6c292d3`](https://github.com/ollama/ollama/commit/6c292d3def8fd2f279527ce640daf95450d48ea6) restore `windows.CREATE_NEW_PROCESS_GROUP` ### 📊 Changes **3 files changed** (+118 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/lifecycle/server.go` (+15 -6) 📝 `app/lifecycle/server_unix.go` (+26 -0) 📝 `app/lifecycle/server_windows.go` (+77 -1) </details> ### 📄 Description Fixes https://github.com/ollama/ollama/issues/3623 --- <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-12 23:24:54 -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#11229