Idle task clean up deleted tasks

michaeln32 wrote on Thursday, June 14, 2018:

Hi,
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 ?

Thank

rtel wrote on Thursday, June 14, 2018:

Think you answered this yourself here:
https://sourceforge.net/p/freertos/discussion/382005/thread/62dfaf91/