about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-01 22:29:47 -0800
committerBrian Anderson <banderson@mozilla.com>2012-03-05 19:39:55 -0800
commitfa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d (patch)
treeb51c4200f522c6488b10da38b017c13bcfe4d725 /src/rt/rust_task.cpp
parent2465a63a69ea51d4fce10430b6a8fd0079cbbcd5 (diff)
downloadrust-fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d.tar.gz
rust-fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d.zip
rt: Make the rust_task_thread lock private
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 0e9e7b2eb85..2c810abdeac 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -107,8 +107,6 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state,
 void
 rust_task::delete_this()
 {
-    I(thread, !thread->lock.lock_held_by_current_thread());
-
     {
         scoped_lock with (lock);
         I(thread, port_table.is_empty());