Fix issue reported by heap debugger
Subsystems are erased by the subsystem manager - so better avoid dependencies in their destructors.
This commit is contained in:
parent
dcc8d22f7c
commit
80f9092460
1 changed files with 0 additions and 3 deletions
|
@ -87,9 +87,6 @@ FGTileMgr::FGTileMgr():
|
|||
|
||||
FGTileMgr::~FGTileMgr()
|
||||
{
|
||||
if (_terra_sync)
|
||||
_terra_sync->setTileCache(NULL);
|
||||
|
||||
// remove all nodes we might have left behind
|
||||
osg::Group* group = globals->get_scenery()->get_terrain_branch();
|
||||
group->removeChildren(0, group->getNumChildren());
|
||||
|
|
Loading…
Add table
Reference in a new issue