public static CAsyncHttp Create() { if ( m_pInstance != null) return m_pInstance; m_pInstance = new CAsyncHttp(); return m_pInstance; }
static public void Destroy() { if (m_pInstance != null) { m_pInstance.stop(2); m_pInstance = null; } }
public static CAsyncHttp Create() { if (m_pInstance != null) { return(m_pInstance); } m_pInstance = new CAsyncHttp(); return(m_pInstance); }
static public void Destroy() { if (m_pInstance != null) { m_pInstance.stop(-1); LOG.INFO("Thread shutdown"); m_pInstance = null; } }