Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on macOS call SetTemplateIcon will cause memory leak #135

Open
freeasbird opened this issue Apr 2, 2020 · 2 comments
Open

on macOS call SetTemplateIcon will cause memory leak #135

freeasbird opened this issue Apr 2, 2020 · 2 comments

Comments

@freeasbird
Copy link

I want to change the icon on notifications area, I found that each calling method "SetTemplateIcon" will increase memory.

@koltyakov
Copy link

Experiencing the same issue. The app I'm working on should constantly change an icon detecting notifications status change. Temporary ended up not changing the icon for macOS, but only the title.

@getlantern getlantern deleted a comment from joesis Mar 1, 2021
@getlantern getlantern deleted a comment from snmed Mar 1, 2021
@snmed
Copy link

snmed commented May 18, 2022

Is there a reason why delete comments without any explanations? This is really a bad attitude and should not be done without any justification.

mlsmaycon added a commit to netbirdio/netbird that referenced this issue Oct 12, 2022
This prevents a memory leak with the systray lib
when setting the icon every 2 seconds causes a large memory consumption

see getlantern/systray#135
mlsmaycon added a commit to netbirdio/netbird that referenced this issue Oct 12, 2022
* Seticon only when status changes

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

see getlantern/systray#135

* Use fork with permanent fix
pulsastrix pushed a commit to pulsastrix/netbird that referenced this issue Dec 24, 2023
* Seticon only when status changes

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

see getlantern/systray#135

* Use fork with permanent fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants