forked from mtcontrib/plantlife_modpack
free the block cache memory after using it (fix mem leak)
This commit is contained in:
parent
ce9212c413
commit
c311de6694
@ -250,6 +250,7 @@ function plantslib:generate_block(minp, maxp, blockseed)
|
||||
end
|
||||
end
|
||||
end
|
||||
plantslib.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