diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-04-20 13:59:31 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-20 13:59:31 -0700 |
| commit | 4357e1fd6086931b7a338678d675cd51061c66b2 (patch) | |
| tree | 4d5a1bf866e83089503a080cd08284e54a405f3a /src/rt/rust_kernel.cpp | |
| parent | 90f82e171d17d63167d44f7bffe9c2b5e43da40f (diff) | |
| download | rust-4357e1fd6086931b7a338678d675cd51061c66b2.tar.gz rust-4357e1fd6086931b7a338678d675cd51061c66b2.zip | |
rt: Take the weak_task_lock in end_weak_tasks
Don't remember why it's commented out. Probably an oversight.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
| -rw-r--r-- | src/rt/rust_kernel.cpp | 2 |
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(); } |
