lib/heap_profiler/diff.rb in heap-profiler-0.6.0 vs lib/heap_profiler/diff.rb in heap-profiler-0.7.0

- old
+ new

@@ -17,9 +17,10 @@ def initialize(report_directory) @report_directory = report_directory @allocated = open_dump('allocated') @generation = Integer(File.read(File.join(report_directory, 'generation.info'))) + @generation = nil if @generation == 0 end def allocated_diff @allocated_diff ||= DumpSubset.new(@allocated.path, @generation) end