diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-10 09:01:30 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-10 09:01:30 +0000 |
commit | bf09ba16212e0e56d7c40ea996e283edb1ba4055 (patch) | |
tree | 9d9d261f91ef01bcd27d6f2e6b7ff12626f4687e /prelude.rb | |
parent | 094c201ddbb6e15d5685ba4612c10240ed25327a (diff) | |
download | ruby-bf09ba16212e0e56d7c40ea996e283edb1ba4055.tar.gz ruby-bf09ba16212e0e56d7c40ea996e283edb1ba4055.tar.xz ruby-bf09ba16212e0e56d7c40ea996e283edb1ba4055.zip |
* prelude.rb (Mutex::synchronize): capture exception from unlock.
[ruby-dev:32935]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prelude.rb')
-rw-r--r-- | prelude.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prelude.rb b/prelude.rb index 8d6f70657..a38a57859 100644 --- a/prelude.rb +++ b/prelude.rb @@ -7,7 +7,7 @@ class Mutex begin yield ensure - self.unlock + self.unlock rescue nil end end end |