test_suite/unit_tests/Scripting/testGC.cxx: Restore nasal state when closing down.
Need to restore global_nasalMinimalInit to false in NasalGCTests::tearDown(), otherwise later run of NasalSysTests::testCommands fails.
This commit is contained in:
parent
8a8973fe15
commit
81e12d7c2e
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ void NasalGCTests::setUp()
|
||||||
// Clean up after each test.
|
// Clean up after each test.
|
||||||
void NasalGCTests::tearDown()
|
void NasalGCTests::tearDown()
|
||||||
{
|
{
|
||||||
|
global_nasalMinimalInit = false;
|
||||||
FGTestApi::tearDown::shutdownTestGlobals();
|
FGTestApi::tearDown::shutdownTestGlobals();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue