Skip to content

Commit d8a7a34

Browse files
d-a-vdevyte
authored andcommitted
automatically WiFiClient::flush before ::stop (#5135)
1 parent 3877914 commit d8a7a34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/ESP8266WiFi/src/WiFiClient.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ void WiFiClient::stop()
275275
if (!_client)
276276
return;
277277

278+
flush();
278279
_client->close();
279280
}
280281

0 commit comments

Comments
 (0)