summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/tests/llmainthreadtask_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llcommon/tests/llmainthreadtask_test.cpp b/indra/llcommon/tests/llmainthreadtask_test.cpp
index e54c7eda18..8178aa629a 100644
--- a/indra/llcommon/tests/llmainthreadtask_test.cpp
+++ b/indra/llcommon/tests/llmainthreadtask_test.cpp
@@ -75,14 +75,11 @@ namespace tut
// exceptions it might throw and deliver them via future
std::packaged_task<void()> thread_work(
[this, &result](){
- // lock static data first
- LockStatic lk;
// unblock test<2>()'s yield_until(1)
mSync.set(1);
// dispatch work to main thread -- should block here
bool on_main(
LLMainThreadTask::dispatch(
- lk, // unlock this before blocking!
[]()->bool{
// have to lock static mutex to set static data
LockStatic()->ran = true;