Esempio n. 1
0
        public async Task DisposeAsync()
        {
            await _session.StopHostAsync();

            _sessionProvider.Dispose();
            _brokerConnector.Dispose();
        }
Esempio n. 2
0
        public async Task DisposeAsync()
        {
            await _interactiveWorkflow.RSession.StopHostAsync();

            _interactiveWorkflow.Dispose();
            _sessionProvider.Dispose();
        }
Esempio n. 3
0
 private void DisposeInstance(IRSessionProvider sessionProvider)
 {
     sessionProvider.Dispose();
     _instanceLazy = null;
 }
 private void DisposeInstance(IRSessionProvider sessionProvider)
 {
     sessionProvider.BrokerChanging -= OnBrokerChanging;
     sessionProvider.Dispose();
     _instanceLazy = null;
 }
Esempio n. 5
0
 public void Dispose()
 {
     _interactiveWorkflow.Dispose();
     _sessionProvider.Dispose();
 }