Kaynağa Gözat

Fixed RPCClient.Ping Error

Frank van den Bos 2 yıl önce
ebeveyn
işleme
8c77ac6764
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      InABox.Client.RPC/RPCClient.cs

+ 2 - 0
InABox.Client.RPC/RPCClient.cs

@@ -222,6 +222,8 @@ namespace InABox.Rpc
         {
             try
             {
+                if (!_transport.IsConnected())
+                    _transport.Connect();
                 _transport.Send<RpcPingCommand, RpcPingParameters, RpcPingResult>(new RpcPingParameters());
                 return true;
             }