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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user