mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-29 16:03:14 +03:00
automatically WiFiClient::flush before ::stop (#5135)
This commit is contained in:
@ -275,6 +275,7 @@ void WiFiClient::stop()
|
||||
if (!_client)
|
||||
return;
|
||||
|
||||
flush();
|
||||
_client->close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user