* 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
This commit is contained in:
nobu 2006-12-09 12:40:17 +00:00
parent 2bd4f109f4
commit a7784d0048
2 changed files with 5 additions and 1 deletions

1
eval.c
View file

@ -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();
}