update
This commit is contained in:
@ -41,9 +41,7 @@ namespace DroneSimulator
|
||||
{
|
||||
if (Connected)
|
||||
{
|
||||
try { ServerSocket?.Shutdown(SocketShutdown.Both); } catch { }
|
||||
ServerSocket?.Close();
|
||||
Connected = false;
|
||||
Close();
|
||||
return ClientState.Stop;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user