summaryrefslogtreecommitdiffstats
path: root/async/src
diff options
context:
space:
mode:
Diffstat (limited to 'async/src')
-rw-r--r--async/src/async.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/async/src/async.h b/async/src/async.h
index 6548079..4fb4f2b 100644
--- a/async/src/async.h
+++ b/async/src/async.h
@@ -287,7 +287,8 @@ void Executor<PrevOut, Out, In ...>::exec()
287 auto futureWatcher = new Async::FutureWatcher<PrevOut>(); 287 auto futureWatcher = new Async::FutureWatcher<PrevOut>();
288 QObject::connect(futureWatcher, &Async::FutureWatcher<PrevOut>::futureReady, 288 QObject::connect(futureWatcher, &Async::FutureWatcher<PrevOut>::futureReady,
289 [futureWatcher, this]() { 289 [futureWatcher, this]() {
290 assert(futureWatcher->future().isFinished()); 290 //FIXME mFinished is not part of the d-pointer but we copy the future below
291 // assert(futureWatcher->future().isFinished());
291 futureWatcher->deleteLater(); 292 futureWatcher->deleteLater();
292 previousFutureReady(); 293 previousFutureReady();
293 }); 294 });