mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 09:54:26 +02:00
- explicitly clear the cache.
This commit is contained in:
@@ -83,6 +83,8 @@ void UnitUpdater::init(Game *game){
|
||||
}
|
||||
|
||||
UnitUpdater::~UnitUpdater() {
|
||||
UnitRangeCellsLookupItemCache.clear();
|
||||
|
||||
delete pathFinder;
|
||||
pathFinder = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user