add an option to the final cc so that it prints out/logs unreclaimed ptrs

This commit is contained in:
Niko Matsakis
2012-02-24 11:03:23 -08:00
parent acb129c541
commit 5ee89f3f2a
3 changed files with 27 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ cleanup_task(cleanup_args *args) {
bool threw_exception = args->threw_exception;
rust_task *task = a->task;
cc::do_cc(task);
cc::do_final_cc(task);
task->die();