diff options
author | rr- <mkurczew@gmail.com> | 2015-10-30 19:11:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-30 20:26:37 +0100 |
commit | 7c6d7017bd661f9c560fdd2b7ab99e81ef32e633 (patch) | |
tree | 4081f159e14c91e8c5470802b99e2a1ff3608c6a /video/out/drm_common.c | |
parent | 344b65c4dbdc6af834d699922181b95373879189 (diff) | |
download | mpv-7c6d7017bd661f9c560fdd2b7ab99e81ef32e633.tar.bz2 mpv-7c6d7017bd661f9c560fdd2b7ab99e81ef32e633.tar.xz |
vo_drm: uninstall signal handlers after quitting
Diffstat (limited to 'video/out/drm_common.c')
-rw-r--r-- | video/out/drm_common.c | 2 |
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]); |