diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-14 00:14:21 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-02-15 16:36:51 +0100 |
commit | 96ba208a00617c462cbdd2802a3c97bc6ebb28f3 (patch) | |
tree | 0211c8d51597b6b27bd8148966591face0821875 /src/leap/bitmask/gui/app2.py | |
parent | c52b9f2356189cd09b5992886dbbda6bd7b60cd3 (diff) |
[bug] remove stale pidfile
- Resolves: #9229
Diffstat (limited to 'src/leap/bitmask/gui/app2.py')
-rw-r--r-- | src/leap/bitmask/gui/app2.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/app2.py b/src/leap/bitmask/gui/app2.py index f8f62938..151dead5 100644 --- a/src/leap/bitmask/gui/app2.py +++ b/src/leap/bitmask/gui/app2.py @@ -120,12 +120,18 @@ class BrowserWindow(object): print('[bitmask] shutting down gui') -def launch_gui(): +def launch_backend(): global bitmaskd + check_stale_pidfile() bitmaskd = Process(target=run_bitmaskd) bitmaskd.start() + +def launch_gui(): + + launch_backend() + # there are some tricky movements here to synchronize # the different closing events: |