Skip to content

Commit

Permalink
TODO weak refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelaty-rbx committed Dec 5, 2024
1 parent a816f22 commit 4f9d75a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/heapsnapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def getNodeSnapshotIndex(address):
edgeCount = 0

if obj["type"] == "table":
# TODO: support weak references
name = f"Registry ({address})" if address == data["roots"]["registry"] else f"Luau table ({address})"
if "pairs" in obj:
for i in range(0, len(obj["pairs"]), 2):
Expand Down

0 comments on commit 4f9d75a

Please sign in to comment.