mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -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;
|
uint32_t size;
|
||||||
void *message;
|
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;
|
PinosProxy *proxy;
|
||||||
const PinosDemarshalFunc *demarshal;
|
const PinosDemarshalFunc *demarshal;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue