From edf54f4a2c59990c91544614d6014a900a8e3af3 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 19 Aug 2015 12:36:59 -0300 Subject: [bug] wait for db init on sync decrypter pool Previous to this modification, the initialization of the sync decrypter pool could happen concurrently with other database operations. That could cause the pool to hang because it could be waiting for something that was mistakenly deleted because of the wrong order of database operations. This commit implements a standard which we already use in leap.keymanager and leap.mail which makes some methods wait for the initialization operation before they are actually called. Closes: #7386 --- client/changes/bug_7386_fix-hanging-sync | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 client/changes/bug_7386_fix-hanging-sync (limited to 'client/changes') diff --git a/client/changes/bug_7386_fix-hanging-sync b/client/changes/bug_7386_fix-hanging-sync new file mode 100644 index 00000000..990aa919 --- /dev/null +++ b/client/changes/bug_7386_fix-hanging-sync @@ -0,0 +1,2 @@ + o Fix hanging sync by properly waiting db initialization on sync decrypter + pool. Closes #7686. -- cgit v1.2.3