mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-25 12:20:20 +00:00
osdep/terminal-unix: fix stop_cont_pipe leak
mpv_create/mpv_destroy would leak those.
This commit is contained in:
@@ -549,10 +549,11 @@ 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;
|
||||
}
|
||||
|
||||
close_sig_pipes();
|
||||
input_ctx = NULL;
|
||||
|
||||
do_deactivate_getch2();
|
||||
close_tty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user