diff options
author | kali <kali@leap.se> | 2013-05-17 02:00:35 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-05-17 02:00:35 +0900 |
commit | 319e1d55a2f8e9c521450f60c571f24a907553ee (patch) | |
tree | 616c40418c7ebf56d4da86457e7b379e5e394405 /src/leap/gui/twisted_main.py | |
parent | 212102f05bbc09b0b6cc6fa250eaafc8f80b6824 (diff) |
fix a segfault when stopping the reactor
this particular way of invoking the run method in the reactor
was giving trouble under some conditions.
switching to runReturn makes it work.
Diffstat (limited to 'src/leap/gui/twisted_main.py')
-rw-r--r-- | src/leap/gui/twisted_main.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/gui/twisted_main.py b/src/leap/gui/twisted_main.py index 871af577..c7add3ee 100644 --- a/src/leap/gui/twisted_main.py +++ b/src/leap/gui/twisted_main.py @@ -36,7 +36,13 @@ def start(app): """ from twisted.internet import reactor logger.debug('starting twisted reactor') - reactor.run() + + # this seems to be troublesome under some + # unidentified settings. + #reactor.run() + + reactor.runReturn() + app.exec_() def quit(app): |