mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 05:13:11 -07:00
remove semaphore
This commit is contained in:
parent
3f07e8cfe7
commit
fd4756e11d
1 changed files with 2 additions and 8 deletions
|
@ -1,11 +1,5 @@
|
||||||
using CalculatorUITestFramework;
|
using CalculatorUITestFramework;
|
||||||
|
|
||||||
using var server = new MockedCurrencyServer();
|
using var server = new MockedCurrencyServer();
|
||||||
var sem = new SemaphoreSlim(0);
|
Console.WriteLine("Press any key to exit:");
|
||||||
_ = Task.Run(() =>
|
Console.ReadKey();
|
||||||
{
|
|
||||||
Console.WriteLine("Press any key to exit:");
|
|
||||||
Console.ReadKey();
|
|
||||||
sem.Release();
|
|
||||||
});
|
|
||||||
sem.Wait();
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue