mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
execute detach callback before we change the state to UNLINKED
This commit is contained in:
parent
37bc240ee9
commit
947d8b4c09
1 changed files with 2 additions and 2 deletions
|
|
@ -1038,11 +1038,11 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
|
|||
* sink input handling a few lines down at
|
||||
* PA_SINK_MESSAGE_PREPAPRE_MOVE, too. */
|
||||
|
||||
pa_sink_input_set_state_within_thread(i, i->state);
|
||||
|
||||
if (i->detach)
|
||||
i->detach(i);
|
||||
|
||||
pa_sink_input_set_state_within_thread(i, i->state);
|
||||
|
||||
pa_assert(i->thread_info.attached);
|
||||
i->thread_info.attached = FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue