diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-09-14 15:33:01 -0300 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-09-16 10:00:45 +0200 |
commit | 98f99d1106a8941b701acda78095c3e4d1cd5f9e (patch) | |
tree | b5a03d029fd3544dfc52565a804b83a693922aca /client/src/leap/soledad/client/sqlcipher.py | |
parent | e5e572bee81bec4bc60f4a538269f9cf5061965a (diff) |
[bug] review some of the close methods
We are getting "too many files open" while running tests with 1024 max
files open. This is a leak from close methods. Some of them should be fixed
on this commit, but further investigation may be necessary.
Diffstat (limited to 'client/src/leap/soledad/client/sqlcipher.py')
-rw-r--r-- | client/src/leap/soledad/client/sqlcipher.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/sqlcipher.py b/client/src/leap/soledad/client/sqlcipher.py index 2151884a..22ddc87d 100644 --- a/client/src/leap/soledad/client/sqlcipher.py +++ b/client/src/leap/soledad/client/sqlcipher.py @@ -559,6 +559,7 @@ class SQLCipherU1DBSync(SQLCipherDatabase): """ Close the syncer and syncdb orderly """ + super(SQLCipherU1DBSync, self).close() # close all open syncers for url in self._syncers.keys(): _, syncer = self._syncers[url] |