mirror of https://github.com/quasar/Quasar.git
Small fix
This commit is contained in:
parent
5ba266f3a0
commit
a9e8eca086
|
@ -317,7 +317,7 @@ private void AsyncReceive(IAsyncResult result)
|
|||
|
||||
if (bytesTransferred <= 0)
|
||||
{
|
||||
OnClientState(false);
|
||||
Disconnect();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ private void AsyncReceive(IAsyncResult result)
|
|||
}
|
||||
catch (Exception)
|
||||
{
|
||||
OnClientState(false);
|
||||
Disconnect();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue