-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
thousands of systray_temp_icon* files temp directory #22
Comments
looks like they never get deleted (a problem in systray I assume...) I could add a workaround that deletes every |
I think that new icon is created every time icon changes in tray. By file timestamp I see it's created every few minutes or seconds. |
Why is it writing icons anyway? It should just write once and then load/reload the appropiate icon. |
I'm sorry about my previous comment but it seems to be inside the https://github.com/getlantern/systray/blob/master/systray_linux.c#L11-L12 |
same for windows: https://github.com/getlantern/systray/blob/8e63b37ef27d94f6db79c4ffb941608e8f0dc2f9/systray_windows.go#L66 not sure about OSX, is it done better there? |
@alex2108 OSX loads it in a different way yes. No temporary file saves to disk (as far as I see). |
More or less fixed by the latest release. On a crash/forced quit there may stay one icon that never gets deleted but it does not create infinite icons while running. |
I found around 660,000 icon files (taking 2.4GB of space) in my temp directory (on windows 10 x64).
systray_temp_icon692992209
and similar.The text was updated successfully, but these errors were encountered: