mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08: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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sys_sem_wait(socksem);
|
|
||||||
netconn_delete(sock->conn);
|
netconn_delete(sock->conn);
|
||||||
|
|
||||||
|
sys_sem_wait(socksem);
|
||||||
if (sock->lastdata) {
|
if (sock->lastdata) {
|
||||||
netbuf_delete(sock->lastdata);
|
netbuf_delete(sock->lastdata);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user