This commit is contained in:
Bill Dengler
2018-12-31 21:14:09 +00:00
parent d4bf33ca6d
commit 96a592a4f9
3 changed files with 32 additions and 1 deletions

View File

@@ -656,6 +656,9 @@ class Controller(object):
sessions.sessions[item].shelve()
if system == "Windows":
self.systrayIcon.RemoveIcon()
pidpath = os.path.join(os.getenv("temp"), "{}.pid".format(application.name))
if os.path.exists(pidpath):
os.remove(pidpath)
widgetUtils.exit_application()
def follow(self, *args, **kwargs):