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