logic: terminating all running tasks before closing the application (issue #343)
This commit is contained in:
@@ -26,4 +26,13 @@ void TaskRunner::reset()
|
||||
m_reset = true;
|
||||
}
|
||||
|
||||
void TaskRunner::terminate()
|
||||
{
|
||||
if (m_task)
|
||||
{
|
||||
m_task->terminate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user