esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes

Probable cause for CI failures of "LoadStoreError" after this task finishes running.
This commit is contained in:
Angus Gratton 2018-07-17 15:12:44 +10:00 committed by bot
parent ae24c13da2
commit 7313f3f925

View file

@ -102,4 +102,6 @@ TEST_CASE("TLS test", "[freertos]")
while (running[0] || running[1]) {
vTaskDelay(10);
}
vTaskDelay(10); /* Make sure idle task can clean up s_task, before it goes out of scope */
}