Commit fc1eeb2d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

--leak

parent 2839559b
......@@ -151,6 +151,7 @@ ResultsStream* SnapBackend::populateJobsWithFilter(const QVector<T*>& jobs, std:
connect(watcher, &QFutureWatcher<void>::finished, stream, [this, jobs, filter, stream] {
QVector<AbstractResource*> ret;
for (auto job : jobs) {
job->deleteLater();
if (job->error()) {
qDebug() << "error:" << job->error() << job->errorString();
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment