[PR #845] [MERGED] 🦄 refactor: 移除阻塞调用以加快应用关闭 #680

Closed
opened 2026-02-27 07:12:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/845
Author: @apoint123
Created: 2/7/2026
Status: Merged
Merged: 2/8/2026
Merged by: @kazukokawagawa

Base: devHead: refactor/remove-blocking-call


📝 Commits (4)

  • 1bf669d 🦄 refactor: 移除阻塞调用以加快应用关闭
  • 3b878b4 🦄 refactor: 改善竞态条件
  • a41cf9b 🦄 refactor: 移除多余的 CloseHandle
  • aaf9272 🦄 refactor: 添加 Drop 实现

📊 Changes

3 files changed (+43 additions, -47 deletions)

View changed files

📝 native/taskbar-lyric/src/lib.rs (+36 -34)
📝 native/taskbar-lyric/src/tray_watcher.rs (+6 -6)
📝 native/taskbar-lyric/src/uia_watcher.rs (+1 -7)

📄 Description

移除任务栏歌词模块中的阻塞调用以加快应用关闭

现在 Rust 线程会分离并自行关闭,而不是让 Electron 主线程等待 Rust 线程关闭才能关闭


🔄 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/imsyy/SPlayer/pull/845 **Author:** [@apoint123](https://github.com/apoint123) **Created:** 2/7/2026 **Status:** ✅ Merged **Merged:** 2/8/2026 **Merged by:** [@kazukokawagawa](https://github.com/kazukokawagawa) **Base:** `dev` ← **Head:** `refactor/remove-blocking-call` --- ### 📝 Commits (4) - [`1bf669d`](https://github.com/imsyy/SPlayer/commit/1bf669de8dffc2174f3f28119d11e5514d4cacc9) 🦄 refactor: 移除阻塞调用以加快应用关闭 - [`3b878b4`](https://github.com/imsyy/SPlayer/commit/3b878b460965f3886196b2c9b348cefcd1d8a44e) 🦄 refactor: 改善竞态条件 - [`a41cf9b`](https://github.com/imsyy/SPlayer/commit/a41cf9b2936388a7c054e3331aa1b7f00f69555c) 🦄 refactor: 移除多余的 CloseHandle - [`aaf9272`](https://github.com/imsyy/SPlayer/commit/aaf92722590dc61537dc3e8b8bc587d0822fc1be) 🦄 refactor: 添加 Drop 实现 ### 📊 Changes **3 files changed** (+43 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `native/taskbar-lyric/src/lib.rs` (+36 -34) 📝 `native/taskbar-lyric/src/tray_watcher.rs` (+6 -6) 📝 `native/taskbar-lyric/src/uia_watcher.rs` (+1 -7) </details> ### 📄 Description 移除任务栏歌词模块中的阻塞调用以加快应用关闭 现在 Rust 线程会分离并自行关闭,而不是让 Electron 主线程等待 Rust 线程关闭才能关闭 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:43 +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/SPlayer#680
No description provided.