From 4cf6b4d3b4ea5cd231ab96d82f5f8cd794e0b2c3 Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Tue, 17 Jul 2012 20:40:40 -0400 Subject: Tasks should not hold a ref to their parent (Close #1789) --- src/rt/rust_builtin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rt/rust_builtin.cpp') 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 -- cgit 1.4.1-3-g733a5