public async Task DisposeAsync() { await _session.StopHostAsync(); _sessionProvider.Dispose(); _brokerConnector.Dispose(); }
public async Task DisposeAsync() { await _interactiveWorkflow.RSession.StopHostAsync(); _interactiveWorkflow.Dispose(); _sessionProvider.Dispose(); }
private void DisposeInstance(IRSessionProvider sessionProvider) { sessionProvider.Dispose(); _instanceLazy = null; }
private void DisposeInstance(IRSessionProvider sessionProvider) { sessionProvider.BrokerChanging -= OnBrokerChanging; sessionProvider.Dispose(); _instanceLazy = null; }
public void Dispose() { _interactiveWorkflow.Dispose(); _sessionProvider.Dispose(); }