]> git.alsa-project.org Git - alsa-lib.git/commit
async: snd_async_del_handler - move clear signal using sigaction as last
authorJaroslav Kysela <perex@perex.cz>
Tue, 4 Jun 2024 09:17:57 +0000 (11:17 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 4 Jun 2024 09:17:57 +0000 (11:17 +0200)
commit5600b901b2b4c59eff7bdf507ee57b222142682e
treeebdc4ebb9c5405b4b0ec7a6d386e4f243803ea69
parent291e727dfecf8d1cec613069a8c5156bb4b6cfa3
async: snd_async_del_handler - move clear signal using sigaction as last

Improve the shutdown order for the asynchronous users. There may be
unhandled signals, because the signal is reset before signal deactivation
using fnctl (O_ASYNC).

Closes: https://github.com/alsa-project/alsa-lib/issues/394
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/async.c