that wasn't a memory leak

the table falls out of context at the end of the loop anyway
so the GC will delete it when the loop ends. No reason to delete it manually.
This commit is contained in:
Vanessa Ezekowitz 2014-08-15 18:58:05 -04:00
parent 1e4ad757a5
commit 985111d17c
1 changed files with 0 additions and 1 deletions

View File

@ -278,7 +278,6 @@ function plantslib:generate_block(minp, maxp, blockseed)
end
end
end
surface_nodes.blockhash = nil -- nuke the block cache after using it (prevent a mem leak).
end
end