summaryrefslogtreecommitdiff
path: root/locales/ro
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-09-05 01:16:17 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-09-08 04:00:32 +0200
commit74733b24c971a006c03e6d413a1ee71102c499d7 (patch)
treecd80f5bbb4419fc085d043bb5f5972fe8ec6d003 /locales/ro
parent80993915cad062e7b1efe86bfe18faae809d25bb (diff)
[bug] exit cleanly in osx
two things happen differently in osx: - call to systray.Quit() halts the program (so if called directly, none of the deferred functions that we use for cleanup get to execute) - systray.Run() blocks (so after loop returns, the main run.Run() function did not get to receive the boolean through the finishedCh channel. proper shutdown is therefore fixed here by moving the call to systray.Quit() to a goroutine that executes when the initialize() function calls all the deferred functions. we need to revisit this in case we want to break the main select loop for a reson other than successfully terminating the program.
Diffstat (limited to 'locales/ro')
0 files changed, 0 insertions, 0 deletions