NOISSUE fix bug in unpacking of forge pack200 jar files
This caused failed downloads and broken files to be used.
This commit is contained in:
parent
f032e32133
commit
53b4bd019f
5 changed files with 23 additions and 10 deletions
|
@ -182,8 +182,11 @@ void CacheDownload::downloadReadyRead()
|
|||
{
|
||||
qCritical() << "Failed writing into " + m_target_path;
|
||||
m_status = Job_Failed;
|
||||
m_reply->abort();
|
||||
m_output_file->cancelWriting();
|
||||
m_output_file.reset();
|
||||
emit failed(m_index_within_job);
|
||||
wroteAnyData = false;
|
||||
return;
|
||||
}
|
||||
wroteAnyData = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue