From 3b12cae44507c809cc1e54c2c0c529d78331ebd8 Mon Sep 17 00:00:00 2001 From: iisaev Date: Thu, 29 Oct 2026 13:21:33 +0100 Subject: [PATCH] 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. --- test_suites/cooking_walk/src/CookingWalkTestDriverNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suites/cooking_walk/src/CookingWalkTestDriverNode.cs b/test_suites/cooking_walk/src/CookingWalkTestDriverNode.cs index 399cb7b..d30b6c4 100644 --- a/test_suites/cooking_walk/src/CookingWalkTestDriverNode.cs +++ b/test_suites/cooking_walk/src/CookingWalkTestDriverNode.cs @@ -519,7 +519,7 @@ namespace Mods.CookingWalkTest foreach (var f in failures) Log($" failed: {f}"); Log($"[TEST_RESULT] name={ResultName} passed={passed} failed={failed}"); - GetTree().Quit(failed == 0 ? 0 : 1); + Cthangover.Core.Bootstrap.ApplicationExit.Quit(GetTree(), failed == 0 ? 0 : 1); } private void Log(string message)