From 985111d17cb4aaaa4fcb369d79adf7702c122ab6 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 15 Aug 2014 18:58:05 -0400 Subject: [PATCH] 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. --- plants_lib/init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/plants_lib/init.lua b/plants_lib/init.lua index 0ecc162..9c0b0e1 100644 --- a/plants_lib/init.lua +++ b/plants_lib/init.lua @@ -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