-
Notifications
You must be signed in to change notification settings - Fork 52
Labels
bug 🐛Something isn't workingSomething isn't working
Milestone
Description
void EthernetClient::stop()
{
if (_tcp_client == NULL) {
return;
}
// close tcp connection if not closed yet
if (status() != TCP_CLOSING) {
tcp_connection_close(_tcp_client->pcb, _tcp_client);
}
mem_free(_tcp_client);
}
In this function, memefree (_tcp_cient);, After release, the _tcp_cient was not set to NULL, which caused an exception when TCPClient was reconnected. After adding it, it worked normally. Please fix this issue
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working
Type
Projects
Status
Done