mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-07 05:30:14 +00:00
Backed out lwip_close() change after discussion with Frederic.
This commit is contained in:
parent
07223bf5ef
commit
c517f6daf9
@ -299,9 +299,9 @@ lwip_close(int s)
|
||||
return -1;
|
||||
}
|
||||
|
||||
sys_sem_wait(socksem);
|
||||
netconn_delete(sock->conn);
|
||||
|
||||
sys_sem_wait(socksem);
|
||||
if (sock->lastdata) {
|
||||
netbuf_delete(sock->lastdata);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user