diff options
author | kali <kali@leap.se> | 2013-06-15 01:17:35 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-06-15 02:00:27 +0900 |
commit | fdda95c92d22b4ede61bfb7587320ddb36da5cd7 (patch) | |
tree | 02a71620594cb175ccd2078faf2d52ed42d7e603 /src/leap/app.py | |
parent | 4494b396385d1f9f84a43201cf25c3afd87a823d (diff) |
working openvpn termination: SIGTERM, then SIGKILL.
Closes: #2753
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index 05b54d1f..cb9951c1 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -138,11 +138,14 @@ def main(): app.setApplicationName("leap") app.setOrganizationDomain("leap.se") + # XXX --------------------------------------------------------- + # In quarantine, looks like we don't need it anymore. # This dummy timer ensures that control is given to the outside # loop, so we can hook our sigint handler. - timer = QtCore.QTimer() - timer.start(500) - timer.timeout.connect(lambda: None) + #timer = QtCore.QTimer() + #timer.start(500) + #timer.timeout.connect(lambda: None) + # XXX --------------------------------------------------------- window = MainWindow( lambda: twisted_main.quit(app), |