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()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
WiFiClient & WiFiClient::operator=(const WiFiClient &other)
|
||||
|
Loading…
Reference in New Issue
Block a user