File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4011,6 +4011,7 @@ static esp_err_t _mdns_service_task_stop()
4011
4011
{
4012
4012
MDNS_SERVICE_LOCK ();
4013
4013
_mdns_stop_timer ();
4014
+ MDNS_SERVICE_UNLOCK ();
4014
4015
if (_mdns_service_task_handle ) {
4015
4016
mdns_action_t action ;
4016
4017
mdns_action_t * a = & action ;
@@ -4023,7 +4024,6 @@ static esp_err_t _mdns_service_task_stop()
4023
4024
vTaskDelay (10 / portTICK_PERIOD_MS );
4024
4025
}
4025
4026
}
4026
- MDNS_SERVICE_UNLOCK ();
4027
4027
return ESP_OK ;
4028
4028
}
4029
4029
@@ -4115,8 +4115,8 @@ void mdns_free()
4115
4115
if (!_mdns_server ) {
4116
4116
return ;
4117
4117
}
4118
- _mdns_service_task_stop ();
4119
4118
mdns_service_remove_all (_mdns_server );
4119
+ _mdns_service_task_stop ();
4120
4120
for (i = 0 ; i < TCPIP_ADAPTER_IF_MAX ; i ++ ) {
4121
4121
for (j = 0 ; j < MDNS_IP_PROTOCOL_MAX ; j ++ ) {
4122
4122
_mdns_pcb_deinit (i , j );
You can’t perform that action at this time.
0 commit comments