Sha256: b5536b2a501cec0ad7f77a4ce909ca2f49566f9c01ca6677add84f7abbc70dbf
Contents?: true
Size: 355 Bytes
Versions: 43
Compression:
Stored size: 355 Bytes
Contents
require 'xml' # test of bug 13310, clears MEM2 include GC inner = XML::Node.new('inner') save = nil 1.times do outer = XML::Node.new('outer') outer.child = inner 1.times do doc = XML::Document.new doc.root = outer # Uncomment the following line and it won't crash save = doc end garbage_collect end garbage_collect puts inner
Version data entries
43 entries across 43 versions & 7 rubygems