private void Dispose(bool disposing) { if (!isDisposed) { try { clientRuntime.Dispose(); } finally { isDisposed = true; } } }
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; } }