fix(openthread): fix ot netif destroy netif order issue
This commit is contained in:
@@ -95,8 +95,8 @@ static void ot_task_worker(void *aContext)
|
||||
esp_openthread_launch_mainloop();
|
||||
|
||||
// Clean up
|
||||
esp_netif_destroy(openthread_netif);
|
||||
esp_openthread_netif_glue_deinit();
|
||||
esp_netif_destroy(openthread_netif);
|
||||
|
||||
esp_vfs_eventfd_unregister();
|
||||
vTaskDelete(NULL);
|
||||
|
||||
Reference in New Issue
Block a user