local MyTable = {}
local function modifyThisTable(theTable)
theTable.A = "Beans"
end
modifyThisTable(MyTable)
I’m still learning about how tables can cause memory leaks by suspending scopes. Is it a memory leak to pass a table to a function to modify that table? (Does it prevent that table from ever being garbage collected due to being active in the function’s scope?)