forked from me-no-dev/AsyncTCP
Merge branch 'master' into fix-crash-on-fin-v2
This commit is contained in:
+3
-1
@@ -1278,7 +1278,9 @@ void AsyncServer::end(){
|
||||
if(_pcb){
|
||||
tcp_arg(_pcb, NULL);
|
||||
tcp_accept(_pcb, NULL);
|
||||
_tcp_abort(_pcb, -1);
|
||||
if(tcp_close(_pcb) != ERR_OK){
|
||||
_tcp_abort(_pcb, -1);
|
||||
}
|
||||
_pcb = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user