diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-05-25 16:09:32 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-05-25 16:09:32 +0200 |
commit | eddacfc5aff36eb3b16f12cba12ba1a88f5ee6e2 (patch) | |
tree | d69e30a682f720561b0b68b000803498bb3d952e /common/genericresource.cpp | |
parent | ec8c0bdaf1c55dd251af2953644d528b2103dd56 (diff) | |
download | sink-eddacfc5aff36eb3b16f12cba12ba1a88f5ee6e2.tar.gz sink-eddacfc5aff36eb3b16f12cba12ba1a88f5ee6e2.zip |
Remove invalid comments
The lifetime is now correctly controlled by the execution.
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 2394b80..4467e86 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -109,10 +109,6 @@ private slots: | |||
109 | } | 109 | } |
110 | auto queuedCommand = Akonadi2::GetQueuedCommand(ptr); | 110 | auto queuedCommand = Akonadi2::GetQueuedCommand(ptr); |
111 | Trace() << "Dequeued Command: " << Akonadi2::Commands::name(queuedCommand->commandId()); | 111 | Trace() << "Dequeued Command: " << Akonadi2::Commands::name(queuedCommand->commandId()); |
112 | //TODO JOBAPI: job lifetime management | ||
113 | //Right now we're just leaking jobs. In this case we'd like jobs that are heap allocated and delete | ||
114 | //themselves once done. In other cases we'd like jobs that only live as long as their handle though. | ||
115 | //FIXME this job is stack allocated and thus simply dies.... | ||
116 | processQueuedCommand(queuedCommand).then<void>( | 112 | processQueuedCommand(queuedCommand).then<void>( |
117 | [callback]() { | 113 | [callback]() { |
118 | callback(true); | 114 | callback(true); |