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 Angus Gratton
parent 346d6b0eaa
commit 0f665dfb0d

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 */
}