about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-09-04 15:48:09 -0700
committerBrian Anderson <banderson@mozilla.com>2011-09-07 10:32:58 -0700
commitbb08ffbaf436e291b4be5cf7a471dda9744bfade (patch)
treeef998da66d33aefec9c39c6a5f146ab216c8555e /src/rt/rust_upcall.cpp
parent1339d0543407d653842503704642fb34f8e6a82d (diff)
downloadrust-bb08ffbaf436e291b4be5cf7a471dda9744bfade.tar.gz
rust-bb08ffbaf436e291b4be5cf7a471dda9744bfade.zip
Refactor task failure a bit
Issue #236
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 662dbe9429a..cf8537ad6d0 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -92,10 +92,7 @@ upcall_fail(rust_task *task,
             size_t line) {
     LOG_UPCALL_ENTRY(task);
     LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, expr, file, line);
-    task->die();
     task->fail();
-    task->notify_tasks_waiting_to_join();
-    task->yield(4);
 }
 
 /**