public void Dispose() { m_Socket = null; if (m_Kcp != null) { m_Kcp.Dispose(); m_Kcp = null; } m_Listener = null; }