core/systems/HandleSys.cpp
changeset 2305 255731330db4
parent 2289 44045ead61cd
child 2374 4f5cee8b5ef3
     1.1 --- a/core/systems/HandleSys.cpp	Sun Sep 14 23:42:20 2008 -0700
     1.2 +++ b/core/systems/HandleSys.cpp	Mon Sep 15 04:26:58 2008 -0500
     1.3 @@ -910,6 +910,15 @@
     1.4  		}
     1.5  	}
     1.6  
     1.7 +	/* Remove it from the type cache. */
     1.8 +	if (pType->nameIdx != -1)
     1.9 +	{
    1.10 +		const char *typeName;
    1.11 +
    1.12 +		typeName = m_strtab->GetString(pType->nameIdx);
    1.13 +		sm_trie_delete(m_TypeLookup, typeName);
    1.14 +	}
    1.15 +
    1.16  	return true;
    1.17  }
    1.18