mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add new switch --disallow-exit
This commit is contained in:
parent
f1d2bf8408
commit
756fac8d04
11 changed files with 87 additions and 52 deletions
|
|
@ -607,8 +607,8 @@ static void context_state_callback(pa_context *c, void *userdata) {
|
|||
break;
|
||||
|
||||
case EXIT:
|
||||
pa_operation_unref(pa_context_exit_daemon(c, NULL, NULL));
|
||||
drain();
|
||||
pa_operation_unref(pa_context_exit_daemon(c, simple_callback, NULL));
|
||||
break;
|
||||
|
||||
case LIST:
|
||||
actions = 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue