Skip to content

Commit 4b8a985

Browse files
committed
fix: NetworkClient - don't stop() in destroy
shared_ptr NetworkClientSocketHandle destroy closes the connection when the last copy of WiFiClient is destroyed
1 parent cf44890 commit 4b8a985

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/Network/src/NetworkClient.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ NetworkClient::NetworkClient(int fd) : _connected(true), _timeout(WIFI_CLIENT_DE
178178
}
179179

180180
NetworkClient::~NetworkClient() {
181-
stop();
182181
}
183182

184183
void NetworkClient::stop() {

0 commit comments

Comments
 (0)