fix(console): join the REPL task before esp_console_stop_repl frees it

This commit is contained in:
Yogesh Mantri
2026-09-10 10:12:00 +00:00
parent 2e6d41c2e9
commit cd1a5fc1f3
3 changed files with 22 additions and 0 deletions
@@ -42,6 +42,7 @@ typedef struct {
TaskHandle_t task_hdl; // REPL task handle
size_t max_cmdline_length; // Maximum length of a command line. If 0, default value will be used.
size_t max_cmdline_args; // Maximum number of command line arguments to parse. If 0, default value will be used.
SemaphoreHandle_t task_ready; // Given once the REPL task holds state_mux
} esp_console_repl_com_t;
typedef struct {