about summary refs log tree commit diff
path: root/src/rt/rust_message.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-07-27 14:51:25 -0700
committerEric Holk <eholk@mozilla.com>2011-07-28 10:47:28 -0700
commit279844ce9fc64969d1c048335214627ab50237a0 (patch)
tree40156df61bc5df2bb3c1f1839f4afd65052db7e7 /src/rt/rust_message.cpp
parenta5fe66e7065c0e91064f3a818ea901ecfb499b70 (diff)
downloadrust-279844ce9fc64969d1c048335214627ab50237a0.tar.gz
rust-279844ce9fc64969d1c048335214627ab50237a0.zip
Atomic reference counting for tasks.
Diffstat (limited to 'src/rt/rust_message.cpp')
-rw-r--r--src/rt/rust_message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_message.cpp b/src/rt/rust_message.cpp
index 59645d6d5bd..f8001a17193 100644
--- a/src/rt/rust_message.cpp
+++ b/src/rt/rust_message.cpp
@@ -61,8 +61,8 @@ void notify_message::process() {
         break;
     case JOIN: {
         if (task->dead() == false) {
-            rust_proxy<rust_task> *proxy = new rust_proxy<rust_task>(_source);
-            task->tasks_waiting_to_join.append(proxy);
+            // FIXME: this should be dead code.
+            assert(false);
         } else {
             send(WAKEUP, "wakeup", _target, _source);
         }