about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-12-18 02:09:41 -0800
committerBrian Anderson <banderson@mozilla.com>2011-12-18 02:09:41 -0800
commit3fa930f5986a47ee1fa1d25d96c3c17904d60b1f (patch)
treed4c1f147dac1940ed28a3f9c8cfd6d0ef7aa298b /src/rt/rust_task.cpp
parent1a1fdf34b165e25c6eca9a2729500a5805fa0c40 (diff)
downloadrust-3fa930f5986a47ee1fa1d25d96c3c17904d60b1f.tar.gz
rust-3fa930f5986a47ee1fa1d25d96c3c17904d60b1f.zip
rt: Remove a bogus FIXME from ~rust_task
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 0f5a6904ff1..918721a6823 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -227,9 +227,7 @@ rust_task::~rust_task()
     //   (ref_count == 1 && this == sched->root_task));
 
     // Delete all the stacks. There may be more than one if the task failed
-    // FIXME: This is not correct. During unwinding we need to delete
-    // the stacks and record the stack limit, otherwise the stack
-    // stack is corrupted when destructors are running.
+    // and no landing pads stopped to clean up.
     while (stk != NULL) {
         del_stk(this, stk);
     }