mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Call malloc_trim() regularly to improve deallocation behavior (#14707)
This commit is contained in:
@@ -85,6 +85,7 @@ MapBlock::~MapBlock()
|
||||
#endif
|
||||
|
||||
delete[] data;
|
||||
porting::TrackFreedMemory(sizeof(MapNode) * nodecount);
|
||||
}
|
||||
|
||||
bool MapBlock::onObjectsActivation()
|
||||
|
||||
Reference in New Issue
Block a user