Update Program.cs
This commit is contained in:
parent
614e2763a2
commit
f458a93df8
@ -77,17 +77,17 @@ namespace Client
|
||||
public static void Reconnect()
|
||||
{
|
||||
if (Client.Connected) return;
|
||||
if (Client.Connected == false)
|
||||
Tick?.Dispose();
|
||||
|
||||
if (Client != null)
|
||||
{
|
||||
Tick?.Dispose();
|
||||
|
||||
Client?.Close();
|
||||
Client?.Dispose();
|
||||
|
||||
MS?.Dispose();
|
||||
|
||||
InitializeClient();
|
||||
Client.Close();
|
||||
Client.Dispose();
|
||||
}
|
||||
|
||||
MS?.Dispose();
|
||||
|
||||
InitializeClient();
|
||||
}
|
||||
|
||||
public static byte[] SendInfo()
|
||||
|
Loading…
x
Reference in New Issue
Block a user