mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
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:
committed by
Angus Gratton
parent
346d6b0eaa
commit
0f665dfb0d
@@ -102,4 +102,6 @@ TEST_CASE("TLS test", "[freertos]")
|
|||||||
while (running[0] || running[1]) {
|
while (running[0] || running[1]) {
|
||||||
vTaskDelay(10);
|
vTaskDelay(10);
|
||||||
}
|
}
|
||||||
|
vTaskDelay(10); /* Make sure idle task can clean up s_task, before it goes out of scope */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user