forked from mirror/openwrt
unetmsg: remove redundant socket close
channel.disconnect() already closes the fd via ubus_shutdown(), so calling socket.close() afterwards is redundant and causes EBADF. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
8a304d051f
commit
bdc3c1a820
1 changed files with 0 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ function network_socket_close(data)
|
|||
if (data.timer)
|
||||
data.timer.cancel();
|
||||
data.channel.disconnect();
|
||||
data.socket.close();
|
||||
}
|
||||
|
||||
function network_rx_cleanup_state(name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue