Skip to content
Commit a9187853 authored by Derek Foreman's avatar Derek Foreman
Browse files

client: Don't inappropriatly close fds for zombie objects



commit 239ba393 which was intended
to stop leaking fds in events for zombie objects didn't notice that
passing 0 to wl_connection_close_fds_in() would still close fds.

Test the fd count before calling.

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
parent 97351f99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment