fix(openthread): fix stack deinit by reversing netif glue teardown and hardening workflow cleanup

This commit is contained in:
Xu Si Yu
2026-09-03 20:04:11 +08:00
parent 006d8b825b
commit f62a168307
8 changed files with 63 additions and 27 deletions
@@ -15,7 +15,7 @@
extern "C" {
#endif
#define WORKFLOW_MAX_NAMELEN 16
#define WORKFLOW_MAX_NAMELEN 32
/**
* @brief update function declaration
@@ -60,11 +60,13 @@ typedef struct esp_openthread_platform_workflow {
*
* @param[in] updatefcn The update function of the workflow added to the list.
* @param[in] processfcn The process function of the workflow added to the list.
* @param[in] name The name of the added workflow
* @param[in] name The name of the added workflow. Must be non-empty and shorter
* than WORKFLOW_MAX_NAMELEN (including the terminating '\\0').
*
* @return
* - ESP_OK on success
* - ESP_ERR_NO_MEM on allocation failure
* - ESP_ERR_INVALID_ARG if name is NULL, empty, or too long
* - ESP_FAIL on other failures
*
*/