From c32463b31039566094a76effd7feaf57200c4080 Mon Sep 17 00:00:00 2001 From: zwx Date: Fri, 15 Dec 2023 18:28:11 +0800 Subject: [PATCH] fix(br): fix ot netif destroy netif order issue --- examples/common/thread_border_router/src/border_router_launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/thread_border_router/src/border_router_launch.c b/examples/common/thread_border_router/src/border_router_launch.c index c7925ae..485c373 100644 --- a/examples/common/thread_border_router/src/border_router_launch.c +++ b/examples/common/thread_border_router/src/border_router_launch.c @@ -124,8 +124,8 @@ static void ot_task_worker(void *ctx) // Clean up esp_netif_destroy(openthread_netif); - esp_openthread_netif_glue_deinit(); esp_vfs_eventfd_unregister(); + esp_openthread_netif_glue_deinit(); esp_rcp_update_deinit(); vTaskDelete(NULL); }