]> git.lizzy.rs Git - rust.git/commitdiff
rt: Remove a bogus FIXME from ~rust_task
authorBrian Anderson <banderson@mozilla.com>
Sun, 18 Dec 2011 10:09:41 +0000 (02:09 -0800)
committerBrian Anderson <banderson@mozilla.com>
Sun, 18 Dec 2011 10:09:41 +0000 (02:09 -0800)
src/rt/rust_task.cpp

index 0f5a6904ff17dba028c61b3599a0af40908ecd08..918721a6823f54a8b4b4ded98055116e05da62a4 100644 (file)
@@ -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);
     }