(svn r22567) -Codechange: Store persistent storages inside a pool.

This commit is contained in:
terkhen
2011-06-12 20:47:45 +00:00
parent db879d5bd1
commit 7e0daae1ec
23 changed files with 257 additions and 27 deletions

View File

@@ -96,6 +96,10 @@ Station::~Station()
}
}
/* Clear the persistent storage. */
delete this->airport.psa;
InvalidateWindowData(WC_STATION_LIST, this->owner, 0);
DeleteWindowById(WC_STATION_VIEW, index);