mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-26 05:31:11 +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:
parent
3bb9a92ed8
commit
2fbef62553
@ -234,14 +234,6 @@ CPanelMetaClassMgrImp::CPanelMetaClassMgrImp() : m_PanelTypeDict( true, 0, 32 )
|
|||||||
|
|
||||||
CPanelMetaClassMgrImp::~CPanelMetaClassMgrImp()
|
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user