osdep/terminal-unix: fix stop_cont_pipe leak

mpv_create/mpv_destroy would leak those.
This commit is contained in:
Kacper Michajłow
2025-01-29 21:14:48 +01:00
parent 82427df2ad
commit 79e29787de

View File

@@ -549,9 +549,10 @@ void terminal_uninit(void)
if (input_ctx) {
(void)write(death_pipe[1], &(char){0}, 1);
mp_thread_join(input_thread);
}
close_sig_pipes();
input_ctx = NULL;
}
do_deactivate_getch2();
close_tty();