mirror of https://github.com/aria2/aria2
Fix crash if unpause failed before assigning BtProgressInfoFile object
parent
b706722c59
commit
dcf98d519f
|
@ -992,7 +992,7 @@ void RequestGroup::releaseRuntimeResource(DownloadEngine* e)
|
||||||
}
|
}
|
||||||
// Don't reset segmentMan_ and pieceStorage_ here to provide
|
// Don't reset segmentMan_ and pieceStorage_ here to provide
|
||||||
// progress information via RPC
|
// progress information via RPC
|
||||||
progressInfoFile_.reset();
|
progressInfoFile_ = std::make_shared<NullProgressInfoFile>();
|
||||||
downloadContext_->releaseRuntimeResource();
|
downloadContext_->releaseRuntimeResource();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue