Sha256: 244d40f5f5569ac0d8adc72bf8e5723f1d06bd3b75339570f3169ba564cb0954
Contents?: true
Size: 358 Bytes
Versions: 6
Compression:
Stored size: 358 Bytes
Contents
require 'libxml' # 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
6 entries across 6 versions & 1 rubygems