[macruby-changes] [1973] MacRuby/branches/experimental/main.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 2 12:29:09 PDT 2009
Revision: 1973
http://trac.macosforge.org/projects/ruby/changeset/1973
Author: lsansonetti at apple.com
Date: 2009-07-02 12:29:09 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
make sure we run the finalizers in case of an uncaught exception
Modified Paths:
--------------
MacRuby/branches/experimental/main.cpp
Modified: MacRuby/branches/experimental/main.cpp
===================================================================
--- MacRuby/branches/experimental/main.cpp 2009-07-02 19:28:47 UTC (rev 1972)
+++ MacRuby/branches/experimental/main.cpp 2009-07-02 19:29:09 UTC (rev 1973)
@@ -36,6 +36,6 @@
}
catch (...) {
rb_vm_print_current_exception();
- exit(1);
+ rb_exit(1);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090702/985a0d08/attachment.html>
More information about the macruby-changes
mailing list