mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-20 05:11:21 +01:00
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>
(cherry picked from commit bdc3c1a820)
This commit is contained in:
parent
7b68399ecf
commit
dfbd371658
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