Ejemplo n.º 1
0
 public void Dispose()
 {
     if (_Host != null)
     {
         _Host.Dispose();
         _Host = null;
     }
     if (_NodeBuilder != null)
     {
         _NodeBuilder.Dispose();
         _NodeBuilder = null;
     }
     if (ClientRuntime != null)
     {
         ClientRuntime.Dispose();
         ClientRuntime = null;
     }
     if (ServerRuntime != null)
     {
         ServerRuntime.Dispose();
         ServerRuntime = null;
     }
 }