summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/drm_common.c2
1 files changed, 2 insertions, 0 deletions
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]);