Fixed another issue with crashing on exit in relation to convars
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401154
This commit is contained in:
parent
172b3e8ab8
commit
416752a0cc
@ -166,7 +166,7 @@ void ConVarManager::OnMetamodPluginUnloaded(PluginId id)
|
||||
pInfo = (*i);
|
||||
cvarName = pInfo->name;
|
||||
|
||||
if (!icvar->FindVar(cvarName))
|
||||
if (cvarName && !icvar->FindVar(cvarName))
|
||||
{
|
||||
m_IgnoreHandle = true;
|
||||
g_HandleSys.FreeHandle(pInfo->handle, &sec);
|
||||
|
Loading…
Reference in New Issue
Block a user