Quit test drivers through ApplicationExit and free test resources

Adds tests for freeing the temporary ext_resource sub-scene instance; the
animated foreground tests dispose their frame textures.
This commit is contained in:
cthangover committed 2026-10-29 13:21:41 +01:00
1 parent 650f87c6ed
commit 2c9e6805a9
5 files changed
+63 -6

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ namespace Mods.DialogBase.Tests
{
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);
}
}
}