summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp4
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);