Disconnect WiFiClient on destruct

This commit is contained in:
Me No Dev 2016-11-29 03:27:01 +02:00 committed by GitHub
parent b82d0e166a
commit 57c3650ea2

View File

@ -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)