[Pkg-owncloud-commits] [owncloud-client] 14/89: Close the sync journal if a folder gets removed.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 9e2f6c025812a92c07cbc885f16391b67a32eddc
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Dec 5 16:06:03 2013 +0100

    Close the sync journal if a folder gets removed.
    
    This fixes bug #1252
---
 src/mirall/folder.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index 715922d..177b29f 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -498,6 +498,8 @@ void Folder::wipe()
 {
     QString stateDbFile = path()+QLatin1String(".csync_journal.db");
 
+    _journal.close(); // close the sync journal
+
     QFile file(stateDbFile);
     if( file.exists() ) {
         if( !file.remove()) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list