mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Wizard: Attempts to really close the database when starting the backup
Still for issue #1989
This commit is contained in:
parent
b154e1baa1
commit
f046a7e7fe
1 changed files with 2 additions and 0 deletions
|
@ -706,6 +706,8 @@ bool FolderMan::startFromScratch( const QString& localFolder )
|
||||||
if( localFolder.startsWith(f->path()) ) {
|
if( localFolder.startsWith(f->path()) ) {
|
||||||
_socketApi->slotUnregisterPath(f->alias());
|
_socketApi->slotUnregisterPath(f->alias());
|
||||||
}
|
}
|
||||||
|
f->journalDb()->close();
|
||||||
|
f->slotTerminateSync(); // Normaly it should not be running, but viel hilft viel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue