Quit test drivers through ApplicationExit
Drivers finish through ApplicationExit.Quit so engine mods complete their asynchronous cleanup before the engine shuts down; failure codes are kept.
This commit is contained in:
1 parent
09a5ab1fbb
commit
039c68d448
1 file changed
+1
-1
@@ -146,7 +146,7 @@ namespace Mods.TestDefaultsAndPatches
|
||||
{
|
||||
done = true;
|
||||
GameLogger.Log("TEST", $"[TEST_RESULT] name={ResultName} passed={passed} failed={failed}");
|
||||
GetTree().Quit(failed == 0 ? 0 : 1);
|
||||
Cthangover.Core.Bootstrap.ApplicationExit.Quit(GetTree(), failed == 0 ? 0 : 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user