diff options
Diffstat (limited to 'async/src/async.cpp')
-rw-r--r-- | async/src/async.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/async/src/async.cpp b/async/src/async.cpp index 6f28084..e92d333 100644 --- a/async/src/async.cpp +++ b/async/src/async.cpp | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <QDebug> | 21 | #include <QDebug> |
22 | #include <QEventLoop> | 22 | #include <QEventLoop> |
23 | 23 | ||
24 | |||
25 | using namespace Async; | 24 | using namespace Async; |
26 | 25 | ||
27 | Private::Execution::Execution(const Private::ExecutorBasePtr &executor) | 26 | Private::Execution::Execution(const Private::ExecutorBasePtr &executor) |
@@ -45,6 +44,11 @@ void Private::Execution::setFinished() | |||
45 | { | 44 | { |
46 | isFinished = true; | 45 | isFinished = true; |
47 | //executor.clear(); | 46 | //executor.clear(); |
47 | #ifndef QT_NO_DEBUG | ||
48 | if (tracer) { | ||
49 | delete tracer; | ||
50 | } | ||
51 | #endif | ||
48 | } | 52 | } |
49 | 53 | ||
50 | void Private::Execution::releaseFuture() | 54 | void Private::Execution::releaseFuture() |