Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
fc1eeb2d
Commit
fc1eeb2d
authored
Dec 01, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
--leak
parent
2839559b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/SnapBackend/SnapBackend.cpp
View file @
fc1eeb2d
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment