Source/NFX.Erlang/Connect/ErlAbstractConnection.cs
/// <summary>
/// Close the connection to the remote node
/// </summary>
Close the connection to the remote node
Close the connection to the remote node
protected virtual void Close()
    {
      m_Connected = false;
      if (m_Transport != null)
        lock (m_Transport)
        {
          if (m_Transport != null)
          {
            m_Home.OnTrace(ErlTraceLevel.Ctrl, Direction.Inbound, "CLOSE");
            try { m_Transport.Close(); }
            catch { }
            finally { m_Transport = null; }
          }
        }
    }
protected virtual void Close ( ) { m_Connected = false ; if ( m_Transport != null ) lock ( m_Transport ) { if ( m_Transport != null ) { m_Home . OnTrace ( ErlTraceLevel . Ctrl , Direction . Inbound , " " ) ; try { m_Transport . Close ( ) ; } catch { } finally { m_Transport = null ; } } } }
Close the connection to the remote node
Close the connection to the remote node