mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
stream: don't emit process when disconnecting
As part of the disconnect, we will flush out pending process calls. Make sure we don't emit them because they are quite pointless. Fixes #3314
This commit is contained in:
parent
4b32b1fef0
commit
b160a72018
1 changed files with 2 additions and 1 deletions
|
|
@ -446,7 +446,8 @@ do_call_process(struct spa_loop *loop,
|
|||
struct stream *impl = user_data;
|
||||
struct pw_stream *stream = &impl->this;
|
||||
pw_log_trace_fp("%p: do process", stream);
|
||||
pw_stream_emit_process(stream);
|
||||
if (!impl->disconnecting)
|
||||
pw_stream_emit_process(stream);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue