* prelude.rb (Mutex::synchronize): capture exception from unlock.
[ruby-dev:32935] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f309847177
commit
6871c34274
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 10 18:00:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* prelude.rb (Mutex::synchronize): capture exception from unlock.
|
||||||
|
[ruby-dev:32935]
|
||||||
|
|
||||||
Thu Jan 10 10:15:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Jan 10 10:15:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work as
|
* io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work as
|
||||||
|
@ -7,7 +7,7 @@ class Mutex
|
|||||||
begin
|
begin
|
||||||
yield
|
yield
|
||||||
ensure
|
ensure
|
||||||
self.unlock
|
self.unlock rescue nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user