/// <summary> /// Shutdown the bot instance /// </summary> public void Shutdown() { // Stop the bot thread m_botThreadInfo.m_pKill.Set(); m_botThreadInfo.m_pDead.WaitOne(500, false); // Close the sessions m_session.Close(); m_core.Close(); }
/// <summary> /// Shutdown the bot instance /// </summary> public void Shutdown() { // Stop the bot thread m_botThreadInfo.m_pKill.Set(); m_botThreadInfo.m_pDead.WaitOne(500, false); // Close the sessions m_session.Close(); m_core.Close(); }