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

Experimental fix for ffi_closure_free causes dumping core/SEGV

20130411T041301Z.log.html.gz#test%2F-ext-

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-04-11 06:35:43 +00:00
parent 13fb747c37
commit 91fe36e99a
2 changed files with 10 additions and 0 deletions

View file

@ -109,5 +109,10 @@ module Fiddle
@libc = Fiddle.dlopen(LIBC_SO)
@libm = Fiddle.dlopen(LIBM_SO)
end
def teardown
if /linux/ =~ RUBY_PLATFORM
GC.start
end
end
end