Cleanup the resource manager when deleting globals
This commit is contained in:
parent
6906ce40fd
commit
a5aa6fb61b
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ FGGlobals::~FGGlobals()
|
||||||
props.clear();
|
props.clear();
|
||||||
|
|
||||||
delete commands;
|
delete commands;
|
||||||
|
delete simgear::ResourceManager::instance();
|
||||||
}
|
}
|
||||||
|
|
||||||
// set the fg_root path
|
// set the fg_root path
|
||||||
|
|
Loading…
Reference in a new issue