Files
macports-ports/lang/ruby186/files/patch-ruby_bug3674.diff
Wataru Kimura bd13a5f1ae lang/ruby186: upgrade to 1.8.6-p420.
- refactoring verndor patches. gather into one file and let to work without
    re-autoconf.
  - remove variant thread_hooks. this feature for only rubycocoa(rb-rubycocoa)
    and rubycocoa requires ruby-1.8.7.
  - remove a patch ignore-gsetcontext.diff. 1.8.6-p420 allows to disable
    get/setcontext() via configure option.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@83478 d073be05-634f-4543-b044-5fe20cf6d1d6
2011-09-03 02:10:52 +00:00

19 lines
470 B
Diff

--- lib/drb/drb.rb.orig 2009-02-16 22:22:09.000000000 +0900
+++ lib/drb/drb.rb 2010-12-31 17:41:41.000000000 +0900
@@ -1416,8 +1416,14 @@
grp.add(Thread.current)
list = @grp.list
while list.size > 0
+ list = list.map do |th|
+ th.kill if th.alive?
+ end.compact
list.each do |th|
- th.kill if th.alive?
+ begin
+ th.join
+ rescue Exception
+ end
end
list = @grp.list
end