protected void Destroy() { foreach (IOThread it in m_ioThreads) { it.Stop(); } foreach (IOThread it in m_ioThreads) { it.Destroy(); } if (m_reaper != null) { m_reaper.Destroy(); } m_termMailbox.Close(); m_tag = 0xdeadbeef; }
protected void Destroy() { foreach (IOThread it in m_ioThreads) { it.Stop(); } foreach (IOThread it in m_ioThreads) { it.Destroy(); } if (m_reaper != null) { m_reaper.Destroy(); } m_termMailbox.Close(); m_disposed = true; }