mirror of
https://github.com/me-no-dev/AsyncTCP.git
synced 2025-08-13 17:44:32 +02:00
Update AsyncTCP.cpp
This commit is contained in:
@@ -1253,7 +1253,7 @@ void AsyncServer::end(){
|
|||||||
tcp_arg(_pcb, NULL);
|
tcp_arg(_pcb, NULL);
|
||||||
tcp_accept(_pcb, NULL);
|
tcp_accept(_pcb, NULL);
|
||||||
if(tcp_close(_pcb) != ERR_OK){
|
if(tcp_close(_pcb) != ERR_OK){
|
||||||
_tcp_abort(_pcb, NULL);
|
_tcp_abort(_pcb);
|
||||||
}
|
}
|
||||||
_pcb = NULL;
|
_pcb = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user