mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
do not call tcp/udp ::stopAll() when it is not required to do so (#8598)
* do not call tcp/udp ::stopAll() when it is not required to to so * remove stopAll also from ArduinoOTA
This commit is contained in:
@ -224,7 +224,6 @@ void ESP8266WiFiGenericClass::_eventCallback(void* arg)
|
||||
|
||||
if(event->event == EVENT_STAMODE_DISCONNECTED) {
|
||||
DEBUG_WIFI("STA disconnect: %d\n", event->event_info.disconnected.reason);
|
||||
WiFiClient::stopAll();
|
||||
}
|
||||
|
||||
if (event->event == EVENT_STAMODE_AUTHMODE_CHANGE) {
|
||||
|
Reference in New Issue
Block a user