fix : await 버그 픽스

This commit is contained in:
qornwh1
2026-03-04 09:11:04 +09:00
parent 9930348d5e
commit d16e4a05e5
2 changed files with 14 additions and 4 deletions

View File

@@ -72,6 +72,15 @@ public class EchoDummyClientService
private async Task SendLoopAsync(CancellationToken ct)
{
try
{
await Task.Delay(500, ct);
}
catch (OperationCanceledException)
{
return;
}
int tick = 0;
while (!ct.IsCancellationRequested)
@@ -140,6 +149,7 @@ public class EchoDummyClientService
totalAvgRtt += c.AvgRttMs;
rttClientCount++;
}
if (c.peer != null)
{
connected++;