about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp2
1 files changed, 1 insertions, 1 deletions
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<rust_port_id> chancopies;
     {
-        //scoped_lock with(weak_task_lock);
+        scoped_lock with(weak_task_lock);
         chancopies = weak_task_chans;
         weak_task_chans.clear();
     }