Update AsyncTCP.cpp

This commit is contained in:
Me No Dev authored and GitHub committed 2019-09-24 12:09:18 +03:00
1 parent c16449b92c
commit 78a0cba868
1 file changed
+1 -1
+1 -1
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;
}