Update AsyncTCP.cpp

This commit is contained in:
Me No Dev
2019-09-24 12:09:18 +03:00
committed by GitHub
parent c16449b92c
commit 78a0cba868

View File

@@ -1253,7 +1253,7 @@ void AsyncServer::end(){
tcp_arg(_pcb, NULL);
tcp_accept(_pcb, NULL);
if(tcp_close(_pcb) != ERR_OK){
_tcp_abort(_pcb, NULL);
_tcp_abort(_pcb);
}
_pcb = NULL;
}