Fixed multipart book hanging
This commit is contained in:
parent
999bc7604e
commit
12ddbc308a
2 changed files with 4 additions and 3 deletions
|
|
@ -71,8 +71,9 @@ namespace FileLiberator
|
|||
new StatusHandler { "Decrypt failed" };
|
||||
}
|
||||
|
||||
// moves new files from temp dir to final dest
|
||||
var movedAudioFile = moveFilesToBooksDir(libraryBook, entries);
|
||||
// moves new files from temp dir to final dest.
|
||||
// This could take a few seconds i moving hundreds of files.
|
||||
var movedAudioFile = await Task.Run(() => moveFilesToBooksDir(libraryBook, entries));
|
||||
|
||||
// decrypt failed
|
||||
if (!movedAudioFile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue