Fix unit-tests for particles lifetime.
Missed call to ParticlesGlobalManager::clear on scenery shutdown
This commit is contained in:
parent
af3afb55db
commit
00dbd23bec
1 changed files with 2 additions and 0 deletions
|
@ -507,6 +507,8 @@ void FGScenery::shutdown()
|
|||
|
||||
// Toggle the setup flag.
|
||||
_inited = false;
|
||||
|
||||
simgear::ParticlesGlobalManager::clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue