Commit 92f2406f authored by Mikhail I. Izmestev's avatar Mikhail I. Izmestev
Browse files

Avoid symbols loading at module unload

Use module name as scope name instead loading symbols for module.
parent 383991d7
...@@ -904,7 +904,7 @@ void ProcessInfo::removeModule(MEMOFFSET_64 offset ) ...@@ -904,7 +904,7 @@ void ProcessInfo::removeModule(MEMOFFSET_64 offset )
// clear TypeInfo cache for this module // clear TypeInfo cache for this module
if(module) if(module)
{ {
std::wstring scope = module->getSymbolScope()->getScopeName(); std::wstring scope = module->getName();
boost::recursive_mutex::scoped_lock l(m_typeInfoLock); boost::recursive_mutex::scoped_lock l(m_typeInfoLock);
TypeInfoMap::iterator it = m_typeInfoMap.begin(); TypeInfoMap::iterator it = m_typeInfoMap.begin();
while (it != m_typeInfoMap.end()) while (it != m_typeInfoMap.end())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment