Skip to content

Commit

Permalink
Put back Windows-specific part of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 16, 2024
1 parent e00f56b commit 5e11e1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/oc/hoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,9 @@ void hoc_final_exit(void) {
rl_deprep_terminal();
#endif
ivoc_cleanup();
#if defined(WIN32) && HAVE_IV
ivoc_win32_cleanup();
#endif
auto tmp_dir = std::getenv("TEMP");
auto path = std::filesystem::path(tmp_dir ? std::string(tmp_dir) : "/tmp") /
fmt::format("oc{}.hl", hoc_pid());
Expand Down

0 comments on commit 5e11e1e

Please sign in to comment.