[macruby-changes] [3039] MacRuby/trunk/vm.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sun Nov 22 16:48:34 PST 2009
Revision: 3039
http://trac.macosforge.org/projects/ruby/changeset/3039
Author: martinlagardette at apple.com
Date: 2009-11-22 16:48:31 -0800 (Sun, 22 Nov 2009)
Log Message:
-----------
- Avoid a crash when a ruby exception is raised within a catch/throw block
Modified Paths:
--------------
MacRuby/trunk/vm.cpp
Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp 2009-11-22 13:42:44 UTC (rev 3038)
+++ MacRuby/trunk/vm.cpp 2009-11-23 00:48:31 UTC (rev 3039)
@@ -3893,11 +3893,9 @@
delete exc;
GET_VM()->set_throw_exc(NULL);
}
- else {
- this->decrease_nesting_for_tag(tag);
- }
}
if (retval == Qundef) {
+ this->decrease_nesting_for_tag(tag);
throw;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091122/94aee24f/attachment.html>
More information about the macruby-changes
mailing list