about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-03-15 17:42:33 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-03-16 15:38:42 +0100
commit22bef74b550b2b08338ebb43363f3d09df6413b9 (patch)
tree1a96fdf8b865c54e4d0a64391451bb913d97ea50 /src/rt/rust_task.cpp
parent140d194007bbb427ab694807782b3a41bb43b27d (diff)
downloadrust-22bef74b550b2b08338ebb43363f3d09df6413b9.tar.gz
rust-22bef74b550b2b08338ebb43363f3d09df6413b9.zip
Remove shared tydescs
All tydescs are static now, there's no need to worry about
marshalling them between threads anymore.
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 32f1e0eb887..039989cbf31 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -192,7 +192,6 @@ void task_start_wrapper(spawn_args *a)
         // free the environment (which should be a unique closure).
         const type_desc *td = env->td;
         td->drop_glue(NULL, NULL, td->first_param, box_body(env));
-        upcall_free_shared_type_desc(env->td);
         upcall_shared_free(env);
     }