Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[electron, gen3] Temporarily increase IDLE task priority whenever a thread exits (calls vTaskDelete) #1862
Due to the busy-loop nature of the application thread and higher priority (2) FreeRTOS IDLE thread responsible for thread resources cleanup (stack) is not being given CPU time, causing memory leaks, unless the application thread goes into a blocked state (waiting on a synchronization primitive or delaying). This could cause the device to be stuck "blinking green" until reset.
Temporarily increase IDLE thread priority to
Steps to Test
Set a breakpoint to