Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed Oct 24, 2024
1 parent b69b61c commit 96b6dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packager/file/http_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ bool HttpFile::Delete(const std::string& url) {
if (!file->Open()) {
return false;
}
return file->Close();
return file.release()->Close();
}

bool HttpFile::Open() {
Expand Down

0 comments on commit 96b6dc3

Please sign in to comment.