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