[PR #504] [MERGED] Seticon only when status changes #12681

Closed
opened 2026-08-05 02:06:27 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/504
Author: @mlsmaycon
Created: 10/12/2022
Status: Merged
Merged: 10/12/2022
Merged by: @mlsmaycon

Base: mainHead: seticon-on-change


📝 Commits (2)

  • 3c8e18d Seticon only when status changes
  • b66a224 Use fork with permanent fix

📊 Changes

3 files changed (+6 additions, -4 deletions)

View changed files

📝 client/ui/client_ui.go (+2 -2)
📝 go.mod (+2 -0)
📝 go.sum (+2 -2)

📄 Description

This prevents a memory leak with the systray lib
when setting the icon every 2 seconds causes a large memory consumption

see https://github.com/getlantern/systray/issues/135


🔄 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/netbirdio/netbird/pull/504 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 10/12/2022 **Status:** ✅ Merged **Merged:** 10/12/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `seticon-on-change` --- ### 📝 Commits (2) - [`3c8e18d`](https://github.com/netbirdio/netbird/commit/3c8e18dc9a802bb815417b14ea2a4a697e4dbeb7) Seticon only when status changes - [`b66a224`](https://github.com/netbirdio/netbird/commit/b66a224c94d9c09d2ea690bad222665996db4dcf) Use fork with permanent fix ### 📊 Changes **3 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `client/ui/client_ui.go` (+2 -2) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+2 -2) </details> ### 📄 Description This prevents a memory leak with the systray lib when setting the icon every 2 seconds causes a large memory consumption see https://github.com/getlantern/systray/issues/135 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:27 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12681