diff --git a/libraries/WiFi/src/WiFiClient.cpp b/libraries/WiFi/src/WiFiClient.cpp index 803f8d99..d6a98c60 100644 --- a/libraries/WiFi/src/WiFiClient.cpp +++ b/libraries/WiFi/src/WiFiClient.cpp @@ -36,6 +36,7 @@ WiFiClient::WiFiClient(int fd):sockfd(fd),_connected(true),next(NULL) WiFiClient::~WiFiClient() { + stop(); } WiFiClient & WiFiClient::operator=(const WiFiClient &other)