summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-04-11 16:17:16 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-04-11 16:17:16 +0000
commit70664af0adc2426f950d51176dba9a7490d2ca23 (patch)
tree2621e1b3404c81460c7330a1c87e23639ff235b7 /src/CheckIntegrityCommand.cc
parent6e9a25798c88ff19a54e89293c634d6e480d2c8f (diff)
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that hash check hangs when aria2.pause is issued while aria2 is checking piece hashes. Fixed the bug that the download is paused after file allocation completion even if aria2.pause is issued during file allocation. * src/CheckIntegrityCommand.cc * src/FileAllocationCommand.cc
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
-rw-r--r--src/CheckIntegrityCommand.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc
index b15be8c8..d434a070 100644
--- a/src/CheckIntegrityCommand.cc
+++ b/src/CheckIntegrityCommand.cc
@@ -58,6 +58,7 @@ CheckIntegrityCommand::~CheckIntegrityCommand() {}
bool CheckIntegrityCommand::executeInternal()
{
if(_requestGroup->isHaltRequested()) {
+ _e->_checkIntegrityMan->dropPickedEntry();
return true;
}
_entry->validateChunk();