mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-08-24 19:00:04 +00:00
fix bug for after udp close select_waiting assert
This commit is contained in:
@@ -612,6 +612,9 @@ free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn,
|
||||
|
||||
*lastdata = sock->lastdata;
|
||||
sock->lastdata.pbuf = NULL;
|
||||
#if ESP_LWIP
|
||||
sock->select_waiting = 0;
|
||||
#endif /* ESP_LWIP */
|
||||
*conn = sock->conn;
|
||||
sock->conn = NULL;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user