mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
protocol-native: only add fd if client active
This commit is contained in:
parent
9088b2f0d9
commit
f994b7eb70
1 changed files with 2 additions and 1 deletions
|
|
@ -384,7 +384,8 @@ socket_data(void *data, int fd, enum spa_io mask)
|
|||
}
|
||||
c = client->user_data;
|
||||
|
||||
pw_loop_update_io(client->protocol->core->main_loop,
|
||||
if (!client->busy)
|
||||
pw_loop_update_io(client->protocol->core->main_loop,
|
||||
c->source, SPA_IO_IN | SPA_IO_ERR | SPA_IO_HUP);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue