- explicitly clear the cache.
This commit is contained in:
parent
49978632c4
commit
014165de69
|
@ -83,6 +83,8 @@ void UnitUpdater::init(Game *game){
|
|||
}
|
||||
|
||||
UnitUpdater::~UnitUpdater() {
|
||||
UnitRangeCellsLookupItemCache.clear();
|
||||
|
||||
delete pathFinder;
|
||||
pathFinder = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue