mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
automatically WiFiClient::flush before ::stop (#5135)
This commit is contained in:
parent
38779149d0
commit
d8a7a34caf
@ -275,6 +275,7 @@ void WiFiClient::stop()
|
|||||||
if (!_client)
|
if (!_client)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
flush();
|
||||||
_client->close();
|
_client->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user