Fix issue with ota service not restarting properly - mdns not being shut down without calling end().
This commit is contained in:
parent
4089b32941
commit
142235c355
@ -39,6 +39,7 @@ void OTASettingsService::writeToJsonObject(JsonObject& root) {
|
|||||||
|
|
||||||
void OTASettingsService::configureArduinoOTA() {
|
void OTASettingsService::configureArduinoOTA() {
|
||||||
if (_arduinoOTA){
|
if (_arduinoOTA){
|
||||||
|
_arduinoOTA->end();
|
||||||
delete _arduinoOTA;
|
delete _arduinoOTA;
|
||||||
_arduinoOTA = nullptr;
|
_arduinoOTA = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user