Browse Source

Fix issue with ota service not restarting properly - mdns not being shut down without calling end().

master
Rick Watson 5 years ago
parent
commit
142235c355
  1. 1
      src/OTASettingsService.cpp

1
src/OTASettingsService.cpp

@ -39,6 +39,7 @@ void OTASettingsService::writeToJsonObject(JsonObject& root) {
void OTASettingsService::configureArduinoOTA() {
if (_arduinoOTA){
_arduinoOTA->end();
delete _arduinoOTA;
_arduinoOTA = nullptr;
}

Loading…
Cancel
Save