Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092)

This commit is contained in:
Tig
2025-06-03 08:12:57 -06:00
committed by GitHub
parent 7490ac9776
commit 764a804ddd
127 changed files with 3720 additions and 1421 deletions

View File

@@ -87,7 +87,7 @@ public class ScenarioTests : TestsAllViews
void OnApplicationOnInitializedChanged (object? s, EventArgs<bool> a)
{
if (a.CurrentValue)
if (a.Value)
{
Application.Iteration += OnApplicationOnIteration;
initialized = true;
@@ -103,7 +103,7 @@ public class ScenarioTests : TestsAllViews
shutdownGracefully = true;
}
_output.WriteLine ($"Initialized == {a.CurrentValue}; shutdownGracefully == {shutdownGracefully}.");
_output.WriteLine ($"Initialized == {a.Value}; shutdownGracefully == {shutdownGracefully}.");
}
// If the scenario doesn't close within abortTime ms, this will force it to quit