Skip to content

Commit 3fa930f

Browse files
committed
rt: Remove a bogus FIXME from ~rust_task
1 parent 1a1fdf3 commit 3fa930f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rt/rust_task.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,7 @@ rust_task::~rust_task()
227227
// (ref_count == 1 && this == sched->root_task));
228228

229229
// Delete all the stacks. There may be more than one if the task failed
230-
// FIXME: This is not correct. During unwinding we need to delete
231-
// the stacks and record the stack limit, otherwise the stack
232-
// stack is corrupted when destructors are running.
230+
// and no landing pads stopped to clean up.
233231
while (stk != NULL) {
234232
del_stk(this, stk);
235233
}

0 commit comments

Comments
 (0)