mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(openthread): fix ot netif destroy netif order issue
This commit is contained in:
parent
692d15abbe
commit
0375c9bca0
@ -92,8 +92,8 @@ static void ot_task_worker(void *aContext)
|
|||||||
esp_openthread_launch_mainloop();
|
esp_openthread_launch_mainloop();
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
esp_netif_destroy(openthread_netif);
|
|
||||||
esp_openthread_netif_glue_deinit();
|
esp_openthread_netif_glue_deinit();
|
||||||
|
esp_netif_destroy(openthread_netif);
|
||||||
esp_vfs_eventfd_unregister();
|
esp_vfs_eventfd_unregister();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}
|
}
|
||||||
|
@ -95,8 +95,8 @@ static void ot_task_worker(void *aContext)
|
|||||||
esp_openthread_launch_mainloop();
|
esp_openthread_launch_mainloop();
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
esp_netif_destroy(openthread_netif);
|
|
||||||
esp_openthread_netif_glue_deinit();
|
esp_openthread_netif_glue_deinit();
|
||||||
|
esp_netif_destroy(openthread_netif);
|
||||||
|
|
||||||
esp_vfs_eventfd_unregister();
|
esp_vfs_eventfd_unregister();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
|
@ -193,8 +193,8 @@ static void ot_task_worker(void *aContext)
|
|||||||
esp_openthread_launch_mainloop();
|
esp_openthread_launch_mainloop();
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
esp_netif_destroy(openthread_netif);
|
|
||||||
esp_openthread_netif_glue_deinit();
|
esp_openthread_netif_glue_deinit();
|
||||||
|
esp_netif_destroy(openthread_netif);
|
||||||
|
|
||||||
esp_vfs_eventfd_unregister();
|
esp_vfs_eventfd_unregister();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
|
@ -129,8 +129,8 @@ static void ot_task_worker(void *aContext)
|
|||||||
esp_openthread_launch_mainloop();
|
esp_openthread_launch_mainloop();
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
esp_netif_destroy(openthread_netif);
|
|
||||||
esp_openthread_netif_glue_deinit();
|
esp_openthread_netif_glue_deinit();
|
||||||
|
esp_netif_destroy(openthread_netif);
|
||||||
|
|
||||||
esp_vfs_eventfd_unregister();
|
esp_vfs_eventfd_unregister();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user