summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-09 12:40:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-09 12:40:17 +0000
commita7784d0048ba71bb619286b3256d88d35655c254 (patch)
tree88a488bf26a0d4dad3a4fef5380d430e905391ef /eval.c
parent2bd4f109f4fa5c6024056b03e0583d8dcc88c068 (diff)
* eval.c (ruby_cleanup): keep the exception till after END blocks.
[ruby-core:09675] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 1e582dcbcb..dc70f66116 100644
--- a/eval.c
+++ b/eval.c
@@ -1553,7 +1553,6 @@ ruby_cleanup(int ex)
PUSH_THREAD_TAG();
if ((state = EXEC_TAG()) == 0) {
ruby_finalize_0();
- if (ruby_errinfo) err = ruby_errinfo;
rb_thread_cleanup();
rb_thread_wait_other_threads();
}