about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-07-17 20:40:40 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-07-17 20:45:07 -0400
commit4cf6b4d3b4ea5cd231ab96d82f5f8cd794e0b2c3 (patch)
tree3f9ca49a7c78422148869b50df72f999c706cbe2 /src/rt/rust_builtin.cpp
parentd930d717e5f4557e47c9fd5bdca62a92f5cc8c38 (diff)
downloadrust-4cf6b4d3b4ea5cd231ab96d82f5f8cd794e0b2c3.tar.gz
rust-4cf6b4d3b4ea5cd231ab96d82f5f8cd794e0b2c3.zip
Tasks should not hold a ref to their parent (Close #1789)
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 4975bbf0354..f86e9232625 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -129,8 +129,7 @@ rust_env_pairs() {
 
 extern "C" CDECL void
 unsupervise() {
-    rust_task *task = rust_get_current_task();
-    task->unsupervise();
+    // FIXME(#1789): bblum: remove this; requires a snapshot
 }
 
 extern "C" CDECL void