do not destroy the ping ConcurrentTask directly at the end of the task

Signed-off-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
iTrooz 2024-12-05 20:41:07 +01:00
parent 4e48015868
commit f9e450ace2
No known key found for this signature in database
GPG Key ID: 8B83F77667B1BC6A

View File

@ -478,11 +478,6 @@ class ServersModel : public QAbstractListModel {
row++;
}
// Destroy task when done
connect(m_currentQueryTask.get(), &ConcurrentTask::finished, this, [this]() {
m_currentQueryTask = nullptr;
});
m_currentQueryTask->start();
}