forked from me-no-dev/AsyncTCP
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