forked from me-no-dev/AsyncTCP
Merge pull request #59 from btittelbach/master
fix ESPAsyncWebServer/issues/265 in AsyncTCP as well
This commit is contained in:
@@ -1252,7 +1252,9 @@ void AsyncServer::end(){
|
||||
if(_pcb){
|
||||
tcp_arg(_pcb, NULL);
|
||||
tcp_accept(_pcb, NULL);
|
||||
_tcp_abort(_pcb);
|
||||
if(tcp_close(_pcb) != ERR_OK){
|
||||
_tcp_abort(_pcb);
|
||||
}
|
||||
_pcb = NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user