From 4f9d75a07e8b8e00755d2adb4780e1335b9fc03b Mon Sep 17 00:00:00 2001 From: jkelaty Date: Thu, 5 Dec 2024 13:51:40 -0800 Subject: [PATCH] TODO weak refs --- tools/heapsnapshot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/heapsnapshot.py b/tools/heapsnapshot.py index 620a9698e..637e7463b 100644 --- a/tools/heapsnapshot.py +++ b/tools/heapsnapshot.py @@ -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):