Idle task clean up deleted tasks

michaeln32 wrote on Thursday, June 14, 2018:

vTaskDelay remove tasks from ready, suspend, delay, delay overflow, to temination list but the memory of the deleted task (his TCB and stack) is not yet cleaned up.

In idle task (in function prvCheckTasksWaitingTermination()) remove tasks that are listed in the termination list and free the task TCB (only the TCB).

Can you please tell me where the deleted task stack is freed ?


rtel wrote on Thursday, June 14, 2018:

Think you answered this yourself here: