Set client to null on disconnect
This commit is contained in:
@ -45,6 +45,7 @@ namespace RageCoop.Client
|
||||
if (IsOnServer)
|
||||
{
|
||||
Client.Disconnect("Bye!");
|
||||
Client=null;
|
||||
}
|
||||
else if (IsConnecting) {
|
||||
_publicKeyReceived.Set();
|
||||
|
Reference in New Issue
Block a user