Skip to content

Commit

Permalink
Update src/oc/hoc.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Cornu <[email protected]>
  • Loading branch information
JCGoran and Nicolas Cornu authored Dec 15, 2024
1 parent 525bb61 commit 231a482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oc/hoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ void hoc_final_exit(void) {
ivoc_cleanup();
auto tmp_dir = std::getenv("TEMP");
auto path = std::filesystem::path(tmp_dir ? std::string(tmp_dir) : "/tmp") /
("oc" + std::to_string(hoc_pid())) / ".hl";
("oc" + std::to_string(hoc_pid()) + ".hl");
std::filesystem::remove(path);
}

Expand Down

0 comments on commit 231a482

Please sign in to comment.