diff options
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: |