コード例 #1
0
        public void Dispose()
        {
            Stop();

            _completionQueues?.Dispose();
            _requestProcessingEngine?.Dispose();
            _sessionManager?.Dispose();
        }
コード例 #2
0
        private void Dispose(bool disposing)
        {
            ReleaseUnmanagedResources();

            if (disposing)
            {
                Stop();

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