mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-05 09:50:27 +01:00
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