From 375dbe3c7364a0c8cd1ed6d51c5f2cabe8fa001e Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 30 Aug 2008 05:42:06 +0000 Subject: * ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which is caused by 'GC.stress=true; require "dl"'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/mkcallback.rb | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'ext') diff --git a/ext/dl/mkcallback.rb b/ext/dl/mkcallback.rb index 21fb177f8b..4dbd0d6ef6 100644 --- a/ext/dl/mkcallback.rb +++ b/ext/dl/mkcallback.rb @@ -135,16 +135,21 @@ $out << (<