Skip to content
Snippets Groups Projects
Commit 3d4abc5b authored by Jacques Gouno's avatar Jacques Gouno
Browse files

TANGODEVIC-1647: point2 & 3, fixed

parent 69ed1493
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ TIMIQLib::~TIMIQLib()
if (m_timiq_task)
{
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
}
}
......@@ -123,6 +124,7 @@ void TIMIQLib::data_end_task()
{
//std::cout <<"exit task done ..." <<std::endl;
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
CHECK_TIMIQ_HW;
......@@ -189,6 +191,7 @@ void TIMIQLib::iVal_end_task()
{
//std::cout <<"exit task done ..." <<std::endl;
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
CHECK_TIMIQ_HW;
......@@ -201,6 +204,7 @@ void TIMIQLib::iVal_end_task()
//- destroy otherwise
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
}
......@@ -254,6 +258,7 @@ void TIMIQLib::qVal_end_task()
{
//std::cout <<"exit task done ..." <<std::endl;
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
CHECK_TIMIQ_HW;
......@@ -266,6 +271,7 @@ void TIMIQLib::qVal_end_task()
//- destroy otherwise
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
}
......@@ -319,6 +325,7 @@ void TIMIQLib::boardT_end_task()
{
//std::cout <<"exit task done ..." <<std::endl;
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
CHECK_TIMIQ_HW;
......@@ -331,6 +338,7 @@ void TIMIQLib::boardT_end_task()
//- destroy otherwise
m_timiq_task->exit();
delete m_timiq_task;
m_timiq_task = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment