Try to fail nicely, again.

This commit is contained in:
Graydon Hoare 2011-05-04 15:04:53 +00:00
parent 99f1dffd49
commit 895ec07453
2 changed files with 2 additions and 2 deletions

View File

@ -505,6 +505,8 @@ rust_task::fail(size_t nargs) {
name, this, supervisor->name, supervisor);
supervisor->kill();
}
// FIXME: implement unwinding again.
exit(1);
}
void

View File

@ -275,8 +275,6 @@ upcall_fail(rust_task *task,
LOG_UPCALL_ENTRY(task);
LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, expr, file, line);
task->fail(4);
// FIXME: re-implement unwinding.
abort();
}
/**