8000 Revert "std::shared_ptr Memory Leak (#3680)" (#3682) · snosrap/arduino-esp32@109ba7a · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 109ba7a

Browse files
authored
Revert "std::shared_ptr Memory Leak (espressif#3680)" (espressif#3682)
This reverts commit b2c6788.
1 parent b2c6788 commit 109ba7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/WiFi/src/WiFiClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ WiFiClient & WiFiClient::operator=(const WiFiClient &other)
196196

197197
void WiFiClient::stop()
198198
{
199-
clientSocketHandle.reset(); // clientSocketHandle = NULL;
200-
_rxBuffer.reset(); // _rxBuffer = NULL;
199+
clientSocketHandle = NULL;
200+
_rxBuffer = NULL;
201201
_connected = false;
202202
}
203203

0 commit comments

Comments
 (0)
0