diff options
author | Kali Kaneko <kali@leap.se> | 2014-05-08 17:19:01 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-05-12 11:25:31 -0500 |
commit | 66c94c7533a81cf9512b41090ccab4ee8360e611 (patch) | |
tree | 314b0d3a57cc2741585d1fd95013c9f5615b8edd /src/leap/bitmask/gui/mainwindow.py | |
parent | 745ae7f55836ff331d9176b52cc98df451a3c2ef (diff) |
wait on shutdown until firewall is down
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 681432b3..c55dbb82 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -2068,13 +2068,6 @@ class MainWindow(QtGui.QMainWindow): logger.debug('Terminating vpn') self._backend.stop_eip(shutdown=True) - # XXX this *has* to wait for a reasonable lapse, since we have some - # delay in vpn.terminate. - # For a better solution it should receive be - # signaled from backend that - # everything is clear to proceed, or timeout happened. - time.sleep(1.5) - self._cancel_ongoing_defers() # TODO missing any more cancels? |