diff options
author | drebs <drebs@leap.se> | 2015-05-25 13:47:57 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-05-25 13:49:32 -0300 |
commit | 3e6e51649bb6206125f20ac6773f6744ec8bf175 (patch) | |
tree | cc14a46120a69921ba9eed6e5584012c23fc694f /client | |
parent | 31757168f6ad243ec83ba52b2e022298ba08f8d1 (diff) |
[bug] remove client syncer call to close method
Diffstat (limited to 'client')
-rw-r--r-- | client/src/leap/soledad/client/sqlcipher.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/leap/soledad/client/sqlcipher.py b/client/src/leap/soledad/client/sqlcipher.py index ed9e95dc..8e7d39c2 100644 --- a/client/src/leap/soledad/client/sqlcipher.py +++ b/client/src/leap/soledad/client/sqlcipher.py @@ -677,9 +677,8 @@ class SQLCipherU1DBSync(SQLCipherDatabase): """ # close all open syncers for url in self._syncers: - _, syncer = self._syncers[url] - syncer.close() - self._syncers = [] + del self._syncers[url] + # stop the encryption pool if self._sync_enc_pool is not None: self._sync_enc_pool.close() |