fix full download on Windows

This commit is contained in:
Damien Elmes 2020-06-02 15:06:23 +10:00
parent f0b6d13ead
commit 35ee106503

View file

@ -665,6 +665,7 @@ impl Collection {
kind: SyncErrorKind::Other,
});
}
drop(db);
// overwrite existing collection atomically
out_file
.persist(&col_path)