1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

automatically WiFiClient::flush before ::stop (#5135)

This commit is contained in:
david gauchard 2018-09-22 05:23:36 +02:00 committed by Develo
parent 38779149d0
commit d8a7a34caf

View File

@ -275,6 +275,7 @@ void WiFiClient::stop()
if (!_client)
return;
flush();
_client->close();
}