From c73371e12fd127cbc39496b9ffadbcf9b702b600 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 6 Jan 2015 20:13:30 +0100 Subject: Make async use of jobs work. --- async/src/async.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'async/src') 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::exec() auto futureWatcher = new Async::FutureWatcher(); QObject::connect(futureWatcher, &Async::FutureWatcher::futureReady, [futureWatcher, this]() { - assert(futureWatcher->future().isFinished()); + //FIXME mFinished is not part of the d-pointer but we copy the future below + // assert(futureWatcher->future().isFinished()); futureWatcher->deleteLater(); previousFutureReady(); }); -- cgit v1.2.3