diff --git a/libraries/WiFi/src/WiFiClient.cpp b/libraries/WiFi/src/WiFiClient.cpp index 3913208b..e422b636 100644 --- a/libraries/WiFi/src/WiFiClient.cpp +++ b/libraries/WiFi/src/WiFiClient.cpp @@ -196,8 +196,8 @@ WiFiClient & WiFiClient::operator=(const WiFiClient &other) void WiFiClient::stop() { - clientSocketHandle.reset(); // clientSocketHandle = NULL; - _rxBuffer.reset(); // _rxBuffer = NULL; + clientSocketHandle = NULL; + _rxBuffer = NULL; _connected = false; }