Permalink
Browse files

When hashing, the chunk of the next file may be computed while the fi…

…rst file wasn't entirely processed.
  • Loading branch information...
1 parent 4c90825 commit 5674633c00588b0bb774a10e05aa492c3286edf9 @Ummon committed Jun 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 application/Core/FileManager/priv/FileUpdater/FileUpdater.cpp
View
3 application/Core/FileManager/priv/FileUpdater/FileUpdater.cpp
@@ -392,7 +392,8 @@ void FileUpdater::computeSomeHashes()
locker.relock();
if (gotAllHashes)
- this->filesWithoutHashes.removeAt(i--);
+ this->filesWithoutHashes.removeAt(i);
+ i--;
}
else
{

0 comments on commit 5674633

Please sign in to comment.