From 7c6d7017bd661f9c560fdd2b7ab99e81ef32e633 Mon Sep 17 00:00:00 2001 From: rr- Date: Fri, 30 Oct 2015 19:11:04 +0100 Subject: [PATCH] vo_drm: uninstall signal handlers after quitting --- video/out/drm_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/drm_common.c b/video/out/drm_common.c index 9e1507f9c6..1f2508a5c5 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -137,6 +137,8 @@ void vt_switcher_interrupt_poll(struct vt_switcher *s) void vt_switcher_destroy(struct vt_switcher *s) { + install_signal(RELEASE_SIGNAL, SIG_DFL); + install_signal(ACQUIRE_SIGNAL, SIG_DFL); close(s->tty_fd); close(vt_switcher_pipe[0]); close(vt_switcher_pipe[1]);