Example #1
0
        public void Dispose()
        {
            // TODO: Close opened channels?
            // Assuming so for the time being, but don't know how to send stop messages yet
            _inputChannel.Dispose();

            _sessionMessageTransport.Dispose();
            _messageTransport.Dispose();
        }
Example #2
0
 public void Dispose()
 {
     try
     {
         _proxyHostLazy.Dispose();
     }
     finally
     {
         _tcpClientLazy.Dispose();
     }
 }
Example #3
0
            public void Dispose()
            {
                ExceptionHelper.HandleExceptions(() => _stream.Dispose(), _logger);

                _proxyHostLazy.Dispose();
                _propertiesLazy.Dispose();

                ExceptionHelper.HandleExceptions(() =>
                {
                    if (!_debugServer._debugSessions.Remove(Address, this))
                    {
                        // TODO: Log failure. This should never be the case.
                    }
                }, _logger);
            }
 public void Dispose()
 {
     _receiveProcess.Terminate();
     _physicalEndPoint.Dispose();
 }
 public void Dispose()
 {
     _session.Dispose();
 }
 public void Dispose()
 {
     _proxyLazy.Dispose();
     _sessionLazy.Dispose();
 }