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:
cthangover committed 2026-10-29 13:21:38 +01:00
1 parent 09a5ab1fbb
commit 039c68d448
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}
}