about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-18 13:23:27 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-18 13:23:27 -0800
commitd1ef29ab37951f740a0fb13b75e3ea7d03432760 (patch)
tree66c1814fe0afac829d866a6492533d39420a3bc7 /src/rt/rust_task.cpp
parent3a6320f71b1e1bde9ec3b30563d9f8e0ef4bdbce (diff)
downloadrust-d1ef29ab37951f740a0fb13b75e3ea7d03432760.tar.gz
rust-d1ef29ab37951f740a0fb13b75e3ea7d03432760.zip
rt: rust_task::conclude_failure doesn't need to call unblock
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 b2d9c4d64cd..6846a546fd7 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -330,8 +330,6 @@ rust_task::fail() {
 
 void
 rust_task::conclude_failure() {
-    // Unblock the task so it can unwind.
-    unblock();
     fail_parent();
     failed = true;
     yield(4);