mirror of
https://github.com/celisej567/BCWSsrc.git
synced 2026-01-07 14:09:48 +03:00
Fixed a crash on exit involving the presence of multiple VGui screen manifests and a possibly defunct memory leak fix
This commit is contained in:
@@ -234,14 +234,6 @@ CPanelMetaClassMgrImp::CPanelMetaClassMgrImp() : m_PanelTypeDict( true, 0, 32 )
|
||||
|
||||
CPanelMetaClassMgrImp::~CPanelMetaClassMgrImp()
|
||||
{
|
||||
#ifdef MAPBASE // VDC Memory Leak Fixes
|
||||
while (m_MetaClassKeyValues.Count()>0)
|
||||
{
|
||||
if (m_MetaClassKeyValues[0])
|
||||
m_MetaClassKeyValues[0]->deleteThis();
|
||||
m_MetaClassKeyValues.RemoveAt(0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user