diff options
author | kali <kali@leap.se> | 2013-05-16 04:26:00 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-05-17 00:10:09 +0900 |
commit | 1cb931e83522746da668f9a8bb5943aca1882086 (patch) | |
tree | c3f2d32b3d545737af081b1f1807901c07765a28 /src/leap/platform_init/initializers.py | |
parent | 8781a893aeaa62286633021e9d3eb8502bd129ee (diff) |
use qtreactor so twisted is driven by qt main loop
aboutToQuit signal is not raised anymore with the qt4reactor.
So we are calling all cleanup callbacks from the quit function.
Diffstat (limited to 'src/leap/platform_init/initializers.py')
-rw-r--r-- | src/leap/platform_init/initializers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/platform_init/initializers.py b/src/leap/platform_init/initializers.py index 91c7086b..2e8cbe95 100644 --- a/src/leap/platform_init/initializers.py +++ b/src/leap/platform_init/initializers.py @@ -28,6 +28,9 @@ from PySide import QtGui logger = logging.getLogger(__name__) +# NOTE we could use a deferToThread here, but should +# be aware of this bug: http://www.themacaque.com/?p=1067 + def init_platform(): """ |