mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fixed WindowsDriver mem leak
This commit is contained in:
@@ -613,8 +613,10 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
Application.MainLoop.Invoke (() => {
|
||||
tf.Text = $"index{r.Next ()}";
|
||||
Interlocked.Increment (ref tbCounter);
|
||||
if (target == tbCounter) // On last increment wake up the check
|
||||
if (target == tbCounter) {
|
||||
// On last increment wake up the check
|
||||
_wakeUp.Set ();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user