ReplicaNet and RNLobby
1
|
#include <PlatformHeap.h>
Static Public Member Functions | |
static void | ForceFree (void) |
This class uses a list of PlatformHeapBlock classes to make sure that all blocks of memory are registered for destruction when PlatformHeap::ForceFree() is called. Each PlatformHeapBlock class is destructed in the reverse order they were added to the stack, it is a LIFO stack. This class can be used to make sure shutdown functions are called and pointers properly cleared.
|
static |
Deletes all heap blocks on the stack in reverse order. This should only be called when all threads accessing memory registered using this class are stopped.
Referenced by MyService::Main().