mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:53:23 +08:00
[0.2.x] fixed: cleanup symbol cache on module reload
git-svn-id: https://pykd.svn.codeplex.com/svn@82028 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
a718ec6716
commit
171b46ea78
@ -112,6 +112,9 @@ SymbolPtr& Module::getSymScope()
|
|||||||
|
|
||||||
void Module::reloadSymbols()
|
void Module::reloadSymbols()
|
||||||
{
|
{
|
||||||
|
SymbolMapKey cacheKey = { m_size, m_timeDataStamp, m_checkSum };
|
||||||
|
m_symSessionCache.erase( cacheKey );
|
||||||
|
|
||||||
m_symSession.reset();
|
m_symSession.reset();
|
||||||
getSymSession();
|
getSymSession();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user