fix(openthread): fix configuration-related issues

This commit is contained in:
Xu Si Yu
2026-08-07 15:22:55 +08:00
parent 1a4f49ac7d
commit ad4f977e04
4 changed files with 14 additions and 8 deletions

View File

@@ -241,7 +241,9 @@ esp_err_t esp_openthread_launch_mainloop(void)
esp_err_t esp_openthread_deinit(void)
{
esp_openthread_lock_acquire(portMAX_DELAY);
esp_openthread_instances_deinit(esp_openthread_get_instance());
esp_openthread_lock_release();
return esp_openthread_platform_deinit();
}