From 4357e1fd6086931b7a338678d675cd51061c66b2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 20 Apr 2012 13:59:31 -0700 Subject: [PATCH] rt: Take the weak_task_lock in end_weak_tasks Don't remember why it's commented out. Probably an oversight. --- src/rt/rust_kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index 21422646f0d..8ce79ec9106 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -337,7 +337,7 @@ void rust_kernel::end_weak_tasks() { std::vector chancopies; { - //scoped_lock with(weak_task_lock); + scoped_lock with(weak_task_lock); chancopies = weak_task_chans; weak_task_chans.clear(); }