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
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/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:
		
							parent
							
								
									13fb747c37
								
							
						
					
					
						commit
						91fe36e99a
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -130,5 +130,10 @@ module DL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_empty()
 | 
					    def test_empty()
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def teardown
 | 
				
			||||||
 | 
					      if /linux/ =~ RUBY_PLATFORM
 | 
				
			||||||
 | 
					        GC.start
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -109,5 +109,10 @@ module Fiddle
 | 
				
			||||||
      @libc = Fiddle.dlopen(LIBC_SO)
 | 
					      @libc = Fiddle.dlopen(LIBC_SO)
 | 
				
			||||||
      @libm = Fiddle.dlopen(LIBM_SO)
 | 
					      @libm = Fiddle.dlopen(LIBM_SO)
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def teardown
 | 
				
			||||||
 | 
					      if /linux/ =~ RUBY_PLATFORM
 | 
				
			||||||
 | 
					        GC.start
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue