Skip to content

Commit

Permalink
make sure we run the finalizers in case of an uncaught exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lrz committed Jul 2, 2009
1 parent 3aa0f84 commit 79466bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ main(int argc, char **argv, char **envp)
}
catch (...) {
rb_vm_print_current_exception();
exit(1);
rb_exit(1);
}
}

0 comments on commit 79466bf

Please sign in to comment.