fix some stale StepsID entries hang around after unloading edits

This commit is contained in:
Chris Danford
2004-11-24 16:59:57 +00:00
parent 243d63094f
commit 0c55fd0684
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -1225,6 +1225,9 @@ void SongManager::FreeAllLoadedFromProfiles()
Song* pSong = m_pSongs[s];
pSong->FreeAllLoadedFromProfiles();
}
// After freeing some Steps pointers, the cache will be invalid.
SongID::ClearCache();
}
static bool CheckPointer( const Song *p )