Fixed storage tests

This commit is contained in:
Arsentiy Milchakov 2018-07-05 16:36:13 +03:00
parent 3a98436dfa
commit 4416b69402

View file

@ -260,7 +260,7 @@ class FileHttpRequest : public HttpRequest, public IHttpThreadCallback
return;
// 1. Save downloaded chunks if some error occured.
if (m_status == Status::Failed)
if (m_status == Status::Failed || m_status == Status::FileNotFound)
SaveResumeChunks();
// 2. Free file handle.