mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
connection: improve some return values
This commit is contained in:
parent
ae905530ba
commit
1f73143d55
3 changed files with 13 additions and 12 deletions
|
|
@ -578,7 +578,7 @@ static void do_flush_event(void *data, uint64_t count)
|
|||
struct client *impl = data;
|
||||
impl->flush_signaled = false;
|
||||
if (impl->connection)
|
||||
if (!pw_protocol_native_connection_flush(impl->connection))
|
||||
if (pw_protocol_native_connection_flush(impl->connection) < 0)
|
||||
impl->this.disconnect(&impl->this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue