forked from mtcontrib/plantlife_modpack
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:
parent
1e4ad757a5
commit
985111d17c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user