Revert "std::shared_ptr Memory Leak (#3680)" (#3682)

This reverts commit b2c678877c.
This commit is contained in:
Me No Dev 2020-01-29 12:30:08 +02:00 committed by GitHub
parent b2c678877c
commit 109ba7a3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,8 +196,8 @@ WiFiClient & WiFiClient::operator=(const WiFiClient &other)
void WiFiClient::stop() void WiFiClient::stop()
{ {
clientSocketHandle.reset(); // clientSocketHandle = NULL; clientSocketHandle = NULL;
_rxBuffer.reset(); // _rxBuffer = NULL; _rxBuffer = NULL;
_connected = false; _connected = false;
} }