logic: terminating all running tasks before closing the application (issue #343)

This commit is contained in:
malte_langkabel
2017-04-12 10:46:56 +02:00
parent 0e4b606c7c
commit 6e342fa87c
23 changed files with 127 additions and 25 deletions
@@ -26,4 +26,13 @@ void TaskRunner::reset()
m_reset = true;
}
void TaskRunner::terminate()
{
if (m_task)
{
m_task->terminate();
}
}