Commit 178ec1ce authored by ussrhero's avatar ussrhero
Browse files

Merge branch 'avoid_unnecessary_symbol_load' into 'dev-1.0'

Avoid symbols loading at module unload

See merge request !31
parents 383991d7 92f2406f
...@@ -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