diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-10-10 16:36:11 -0500 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-10-10 17:02:02 -0500 |
commit | 34ed78a1f27a1cd3eb184b6b5304fafdb5b75022 (patch) | |
tree | a3cd0267861f5e4824c0fd68574380f6fd19d5c7 /icon/wait_2_unix.go | |
parent | 965a712d0102269fcf54e1f459e37113c31218af (diff) |
[feat] systray linux: unlink temp files as soon as they are in use
Stop generating one file in /tmp for each icon change. Let's move the
clean up to the set icon instead of waiting for the quit clean up.
Unlink will remove the file from /tmp, but app_indicator will hold a
descriptor until it finishes with it.
This is a cherry-pick from a pull-request upstream:
https://github.com/getlantern/systray/pull/63
- Resolves: #60
Diffstat (limited to 'icon/wait_2_unix.go')
0 files changed, 0 insertions, 0 deletions