remove semaphore

This commit is contained in:
Tian Liao 2024-11-19 14:25:40 +08:00
commit fd4756e11d

View file

@ -1,11 +1,5 @@
using CalculatorUITestFramework;
using var server = new MockedCurrencyServer();
var sem = new SemaphoreSlim(0);
_ = Task.Run(() =>
{
Console.WriteLine("Press any key to exit:");
Console.ReadKey();
sem.Release();
});
sem.Wait();
Console.WriteLine("Press any key to exit:");
Console.ReadKey();