Implemented automatic memory leak detection and reporting for CRT.
This commit is contained in:
@@ -67,6 +67,7 @@ public:
|
||||
vf2d center();
|
||||
//Returns the last menu type created and last registered component, in case a component is detected as memory leaking, provides this information to each component for safety.
|
||||
static std::pair<MenuType,std::string>GetMemoryLeakReportInfo();
|
||||
virtual void Cleanup();
|
||||
private:
|
||||
Menu(vf2d pos,vf2d size);
|
||||
static MenuType lastMenuTypeCreated;
|
||||
|
||||
Reference in New Issue
Block a user