[PR #1318] [MERGED] fix(tray): Handle tray race + Event::Remove. Maybe: #1222 #4112

Closed
opened 2026-05-22 23:57:44 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1318
Author: @slowsage
Created: 1/1/2026
Status: Merged
Merged: 1/12/2026
Merged by: @JakeStanger

Base: masterHead: fix/tray-race


📝 Commits (1)

  • 21b6806 fix(tray): Handle tray race + Event::Remove. Maybe: #1222

📊 Changes

2 files changed (+19 additions, -0 deletions)

View changed files

📝 src/clients/tray.rs (+3 -0)
📝 src/modules/tray/mod.rs (+16 -0)

📄 Description

  1. Fixed UI Duplicate Bug: src/modules/tray/mod.rs to handle duplicate Event::Add messages from snapshot + subscription.
  2. Fixed Client Memory Leak: src/clients/tray.rs process Event::Remove.

Possible fix for #1222 - hard to say since I see different manifestation


🔄 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/JakeStanger/ironbar/pull/1318 **Author:** [@slowsage](https://github.com/slowsage) **Created:** 1/1/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `fix/tray-race` --- ### 📝 Commits (1) - [`21b6806`](https://github.com/JakeStanger/ironbar/commit/21b68062905142f83533c440bf1af7328aea5fa0) fix(tray): Handle tray race + Event::Remove. Maybe: #1222 ### 📊 Changes **2 files changed** (+19 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/clients/tray.rs` (+3 -0) 📝 `src/modules/tray/mod.rs` (+16 -0) </details> ### 📄 Description 1. Fixed UI Duplicate Bug: src/modules/tray/mod.rs to handle duplicate Event::Add messages from snapshot + subscription. 2. Fixed Client Memory Leak: src/clients/tray.rs process Event::Remove. Possible fix for #1222 - hard to say since I see different manifestation --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 23:57:44 +01: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
JakeStanger/ironbar#4112
No description provided.