Disconnect WiFiClient on destruct
This commit is contained in:
parent
b82d0e166a
commit
57c3650ea2
@ -36,6 +36,7 @@ WiFiClient::WiFiClient(int fd):sockfd(fd),_connected(true),next(NULL)
|
|||||||
|
|
||||||
WiFiClient::~WiFiClient()
|
WiFiClient::~WiFiClient()
|
||||||
{
|
{
|
||||||
|
stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
WiFiClient & WiFiClient::operator=(const WiFiClient &other)
|
WiFiClient & WiFiClient::operator=(const WiFiClient &other)
|
||||||
|
Loading…
Reference in New Issue
Block a user