We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1fdf3 commit 3fa930fCopy full SHA for 3fa930f
src/rt/rust_task.cpp
@@ -227,9 +227,7 @@ rust_task::~rust_task()
227
// (ref_count == 1 && this == sched->root_task));
228
229
// 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.
+ // and no landing pads stopped to clean up.
233
while (stk != NULL) {
234
del_stk(this, stk);
235
}
0 commit comments