[PR #212] [MERGED] return from Main loop on Ctrl-C/shutdown #837

Closed
opened 2026-02-27 20:00:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/212
Author: @lrbalt
Created: 4/30/2018
Status: Merged
Merged: 4/30/2018
Merged by: @sashahilton00

Base: masterHead: shutdown


📝 Commits (1)

  • 6a4e9e8 return from Main loop on Ctrl-C/shutdown

📊 Changes

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

View changed files

📝 src/main.rs (+5 -0)

📄 Description

When we receive Ctrl-C we set shutdown to true, but we do not return from the Main Future with Ready without triggering Ctrl-C handler again.


🔄 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/librespot-org/librespot/pull/212 **Author:** [@lrbalt](https://github.com/lrbalt) **Created:** 4/30/2018 **Status:** ✅ Merged **Merged:** 4/30/2018 **Merged by:** [@sashahilton00](https://github.com/sashahilton00) **Base:** `master` ← **Head:** `shutdown` --- ### 📝 Commits (1) - [`6a4e9e8`](https://github.com/librespot-org/librespot/commit/6a4e9e8becdda4a6a8270521c5b3cea8a297e76c) return from Main loop on Ctrl-C/shutdown ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+5 -0) </details> ### 📄 Description When we receive Ctrl-C we set shutdown to true, but we do not return from the Main Future with Ready without triggering Ctrl-C handler again. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:00:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#837
No description provided.