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