I am trying to understand what happens to a task when it returns (ends). The majority of my tasks are perpetual but I have a few that are ‘one shot’ tasks meaning they may do something, delay, do some more things then return. I noticed the following in one of the demo projects…
#define INCLUDE_vTaskCleanUpResources 0
… but I can’t find this documented anywhere.
Will the idle task clean up the resources used by the task that returns? Does it depend on the option above?