summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/drop_while_spec.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-05-13 12:59:30 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2019-05-13 12:59:30 -0700
commit66a7c92938638e3afceb1d92ae877376902a71a0 (patch)
tree1b9b87926bbe890f13409c5565660caf94d3492b /spec/ruby/core/array/drop_while_spec.rb
parent0215520beaa2be7a7bfb9aeb79bfc8c7ea7936b0 (diff)
Don't run the compactor if GC is disabled
GC is required for pinning / marking objects. If the compactor runs without pinning everything, then it will blow up, so just return early if the GC is disabled.
Diffstat (limited to 'spec/ruby/core/array/drop_while_spec.rb')
0 files changed, 0 insertions, 0 deletions