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
3e22a98c08
commit
a48e67980e
1 file changed
+1
-1
@@ -147,7 +147,7 @@ namespace Mods.InteractiveBase.Tests
|
||||
{
|
||||
step = -1;
|
||||
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