From a48e67980eef0afce71606a7a88daeeeb8684900 Mon Sep 17 00:00:00 2001 From: iisaev Date: Thu, 29 Oct 2026 13:21:34 +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/interactives/src/InteractivesTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suites/interactives/src/InteractivesTest.cs b/test_suites/interactives/src/InteractivesTest.cs index 39c9b70..d389ebe 100644 --- a/test_suites/interactives/src/InteractivesTest.cs +++ b/test_suites/interactives/src/InteractivesTest.cs @@ -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); } } }