summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--async/autotests/asynctest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/async/autotests/asynctest.cpp b/async/autotests/asynctest.cpp
index 6c4bbeb..9240d28 100644
--- a/async/autotests/asynctest.cpp
+++ b/async/autotests/asynctest.cpp
@@ -143,7 +143,7 @@ void AsyncTest::testNestedAsync()
143 future.setFinished(); 143 future.setFinished();
144 innerThenFuture.setFinished(); 144 innerThenFuture.setFinished();
145 }); 145 });
146 innerJob.exec(); 146 innerJob.exec().waitForFinished();
147 } 147 }
148 ).then<int, int>([&done](int result, Async::Future<int> &future) { 148 ).then<int, int>([&done](int result, Async::Future<int> &future) {
149 done = true; 149 done = true;