Skip to content

Commit

Permalink
Merge pull request #5 from bensheldon/current_address-empty
Browse files Browse the repository at this point in the history
Omit missing objects from HeapObject#references
  • Loading branch information
jhawthorn committed Feb 2, 2024
2 parents 98f4124 + e1b216b commit cdd0721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sheap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def referenced_addrs
def references
referenced_addrs.map do |addr|
@heap.at(addr)
end
end.compact
end

def inverse_references
Expand Down

0 comments on commit cdd0721

Please sign in to comment.