diff options
author | Krzysztof Klinikowski <kkszysiu@gmail.com> | 2010-03-06 15:38:57 +0100 |
---|---|---|
committer | Krzysztof Klinikowski <kkszysiu@gmail.com> | 2010-03-06 15:38:57 +0100 |
commit | 6c5f6544e7d045500744eb11a2b6dcf550c73f57 (patch) | |
tree | a93a4277f4930bb38407c25cf32bffa00b5efc6d /telepathy-sunshine | |
parent | 9498e70dbc259b1452d0fcdd6e8718e0e1186dd3 (diff) |
Fixed some reactor issues in telepathy-sunshine.
Diffstat (limited to 'telepathy-sunshine')
-rwxr-xr-x | telepathy-sunshine | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/telepathy-sunshine b/telepathy-sunshine index 50b5ae6..af43a93 100755 --- a/telepathy-sunshine +++ b/telepathy-sunshine @@ -45,7 +45,8 @@ if __name__ == '__main__': @async def quit(): manager.quit() - reactor.stop() + if reactor.running: + reactor.stop() if 'SUNSHINE_PERSIST' not in os.environ: def timeout_cb(): @@ -73,4 +74,5 @@ if __name__ == '__main__': reactor.run() except KeyboardInterrupt: manager.quit() - reactor.stop() + if reactor.running: + reactor.stop() |