mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02: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