Exemplo n.º 1
0
        public void Dispose()
        {
            Stop();

            _completionQueues?.Dispose();
            _requestProcessingEngine?.Dispose();
            _sessionManager?.Dispose();
        }
Exemplo n.º 2
0
        private void Dispose(bool disposing)
        {
            ReleaseUnmanagedResources();

            if (disposing)
            {
                Stop();

                _completionQueues?.Dispose();
                _requestProcessingEngine?.Dispose();
                _sessionManager?.Dispose();
            }
        }