lib/rspectacular/support/garbage_collection.rb in rspectacular-0.70.4 vs lib/rspectacular/support/garbage_collection.rb in rspectacular-0.70.5

- old
+ new

@@ -4,9 +4,11 @@ # module Rspectacular class DeferredGarbageCollection THRESHOLD = (ENV['DEFER_GC'] || 20.0).to_f + @garbage_last_collected_at = nil + def self.start cycle_garbage_collector if enabled? end def self.reconsider