Add nifty counter instance to MmAllocaator
Prevents exit crashes in rare cases e.g. when Engine is not destroyed
This commit is contained in:
@@ -75,6 +75,7 @@ public:
|
||||
typedef std::vector<T, MmAllocator<T> > vector;
|
||||
|
||||
private:
|
||||
MemoryManager::MmCounter m_counter;
|
||||
MemoryManager::ThreadGuard m_threadGuard;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user