Ignore trayicon destroy errors
This commit is contained in:
parent
98c98fbac7
commit
2778b17f8d
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ class ActionsPlugin(object):
|
||||||
|
|
||||||
@atexit.register
|
@atexit.register
|
||||||
def hideIcon():
|
def hideIcon():
|
||||||
icon.die()
|
try:
|
||||||
|
icon.die()
|
||||||
|
except Exception as err:
|
||||||
|
print("Error removing trayicon: %s" % err)
|
||||||
|
|
||||||
ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"
|
ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue