summaryrefslogtreecommitdiff
path: root/scripts/db_access
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-07-22 15:53:28 -0300
committerKali Kaneko <kali@leap.se>2015-07-23 14:03:01 -0400
commit69e38f05601001edc24608b40be8f959de96a582 (patch)
tree46f079cd754c51c36ccec455365f5679bc6b4fda /scripts/db_access
parent70f80e6ff893901dcd94b7964570a896cb753a69 (diff)
[bug] properly close reactor on client db script
Diffstat (limited to 'scripts/db_access')
-rw-r--r--scripts/db_access/client_side_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/db_access/client_side_db.py b/scripts/db_access/client_side_db.py
index 3995d91d..8da5ffac 100644
--- a/scripts/db_access/client_side_db.py
+++ b/scripts/db_access/client_side_db.py
@@ -236,7 +236,7 @@ def _main(soledad, km, args):
except:
pass
finally:
- reactor.stop()
+ reactor.callWhenRunning(reactor.stop)
if __name__ == '__main__':