MemoryHeap::DestroyArena

MemoryHeap::DestroyArena
virtual void DestroyArena(UPInt arena) = 0;
Description

DestroyArena destroys the memory arena created for the heap. The memory arena should be empty before calling DestroyArena (checked by ArenaIsEmpty) otherwise the method will fail at an assertion in the debug mode or crash in the release mode at "return *(int*)0;"

Parameters
Parameters 
Description 
UPInt arena 
Id of the memory arena that needs to be destroyed.