//**************************************************************************************************** // //**************************************************************************************************** private void EndCurTask() { if (m_task != null) { m_task.End(); m_task = null; } }