Skip to content

Commit 1810a4d

Browse files
committed
fixing comment issue and adding clarification
1 parent b768f27 commit 1810a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Tests/Runtime/ConnectionManagementTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ public IEnumerator UnexpectedServerShutdown_ClientsFailToReconnect()
411411

412412
var maxNbReconnectionAttempts = 0;
413413

414-
// Waiting for clients to fail to automatically reconnect
415414
for (var i = 0; i < NumberOfClients; i++)
416415
{
417416
var nbReconnectionAttempts = m_ClientConnectionManagers[i].NbReconnectAttempts;
@@ -423,6 +422,7 @@ public IEnumerator UnexpectedServerShutdown_ClientsFailToReconnect()
423422
}
424423
}
425424

425+
// Waiting for clients to fail to automatically reconnect. We wait once for each reconnection attempt.
426426
for (var i = 0; i < maxNbReconnectionAttempts; i++)
427427
{
428428
yield return WaitForClientsConnectedOrTimeOut();

0 commit comments

Comments
 (0)