mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 08:29:41 +00:00
@ -333,9 +333,8 @@ static inline void lx_call(int dst_sd,
|
|||||||
|
|
||||||
~Reply_channel()
|
~Reply_channel()
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < 2; i++)
|
if (sd[LOCAL_SOCKET] != -1) lx_close(sd[LOCAL_SOCKET]);
|
||||||
if (sd[0] != -1)
|
if (sd[REMOTE_SOCKET] != -1) lx_close(sd[REMOTE_SOCKET]);
|
||||||
lx_close(sd[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int local_socket() const { return sd[LOCAL_SOCKET]; }
|
int local_socket() const { return sd[LOCAL_SOCKET]; }
|
||||||
|
Reference in New Issue
Block a user