Skip to content

Commit

Permalink
Fix client not reaching disconnect code with unintentional disconnect…
Browse files Browse the repository at this point in the history
…s. (#648)
  • Loading branch information
11EJDE11 authored Jan 31, 2025
1 parent 6b7651f commit 29c44cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions DXMainClient/Online/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,6 @@ private void HandleComm()
break;
}

if (!serverStream.DataAvailable)
{
Thread.Sleep(10);
continue;
}

int bytesRead;

try
Expand Down

0 comments on commit 29c44cd

Please sign in to comment.