mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Rename IApplication.Current to TopRunnable
Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ public class SyncrhonizationContextTests
|
||||
|
||||
Task.Run (() =>
|
||||
{
|
||||
while (Application.Current is null || Application.Current is { Running: false })
|
||||
while (Application.TopRunnable is null || Application.TopRunnable is { Running: false })
|
||||
{
|
||||
Thread.Sleep (500);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ public class SyncrhonizationContextTests
|
||||
null
|
||||
);
|
||||
|
||||
if (Application.Current is { Running: true })
|
||||
if (Application.TopRunnable is { Running: true })
|
||||
{
|
||||
Assert.False (success);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user