Wizard: Attempts to really close the database when starting the backup

Still for issue #1989
This commit is contained in:
Olivier Goffart 2014-12-02 10:21:27 +01:00
parent b154e1baa1
commit f046a7e7fe

View file

@ -706,6 +706,8 @@ bool FolderMan::startFromScratch( const QString& localFolder )
if( localFolder.startsWith(f->path()) ) {
_socketApi->slotUnregisterPath(f->alias());
}
f->journalDb()->close();
f->slotTerminateSync(); // Normaly it should not be running, but viel hilft viel
}
}