mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
context: stop reading messages when disconnecting
This commit is contained in:
parent
663a3df9af
commit
bc2f53a31c
1 changed files with 2 additions and 1 deletions
|
|
@ -425,7 +425,8 @@ on_context_data (SpaLoopUtils *utils,
|
|||
uint32_t size;
|
||||
void *message;
|
||||
|
||||
while (pinos_connection_get_next (conn, &opcode, &id, &message, &size)) {
|
||||
while (!impl->disconnecting
|
||||
&& pinos_connection_get_next (conn, &opcode, &id, &message, &size)) {
|
||||
PinosProxy *proxy;
|
||||
const PinosDemarshalFunc *demarshal;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue