1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Sorry again, incorrent exception propagation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-12-30 10:17:39 +00:00
parent c0c75769b6
commit eaa1cca601

View file

@ -76,7 +76,7 @@ class Generator
begin
@block.call(self)
rescue
@main_thread.raise
@main_thread.raise $!
ensure
@main_thread.wakeup
end