Source/NFX.Erlang/Internal/MboxRegistry.cs
/// <summary>
/// Unregister a mailbox and move it to free-list
/// </summary>
Unregister a mailbox and move it to free-list
Unregister a mailbox and move it to free - list
public void Unregister(ErlMbox mbox)
    {
      ErlMbox m;
      if (mbox.Name != ErlAtom.Null)
        m_ByName.TryRemove(mbox.Name, out m);
      if (m_ByPid.TryRemove(mbox.Self, out m))
      {
        mbox.LastUsed = DateTime.UtcNow;
        if (!m.Disposed && !m.DisposeStarted)
          m_Node.MboxFreelist.Enqueue(m);
      }
    }
public void Unregister ( ErlMbox mbox ) { ErlMbox m ; if ( mbox . Name != ErlAtom . Null ) m_ByName . TryRemove ( mbox . Name , out m ) ; if ( m_ByPid . TryRemove ( mbox . Self , out m ) ) { mbox . LastUsed = DateTime . UtcNow ; if ( ! m . Disposed && ! m . DisposeStarted ) m_Node . MboxFreelist . Enqueue ( m ) ; } }
Unregister a mailbox and move it to free-list
Unregister a mailbox and move it to free - list
mbox
ErlMbox