From 69e38f05601001edc24608b40be8f959de96a582 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 22 Jul 2015 15:53:28 -0300 Subject: [bug] properly close reactor on client db script --- scripts/db_access/client_side_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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__': -- cgit v1.2.3