Trying fix unit test error

This commit is contained in:
BDisp
2025-07-25 01:01:01 +01:00
parent 7de59c08a4
commit 3aaefd6053

View File

@@ -137,6 +137,12 @@ public class GuiTestContext : IDisposable
throw _ex; // Propagate any exception that happened in the background task
}
if (Application.Top is { Running: false })
{
Application.Top?.Dispose ();
Application.Shutdown ();
}
return this;
}