Fix HttpReader destructor.

This commit is contained in:
levlam 2021-12-06 21:59:24 +03:00
parent 831ca4b975
commit 40e0e3e457
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class HttpReader {
HttpReader &operator=(HttpReader &&other) = delete;
~HttpReader() {
if (!temp_file_.empty()) {
temp_file_.close();
clean_temporary_file();
}
}