From eddacfc5aff36eb3b16f12cba12ba1a88f5ee6e2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 25 May 2015 16:09:32 +0200 Subject: Remove invalid comments The lifetime is now correctly controlled by the execution. --- common/genericresource.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common/genericresource.cpp') 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: } auto queuedCommand = Akonadi2::GetQueuedCommand(ptr); Trace() << "Dequeued Command: " << Akonadi2::Commands::name(queuedCommand->commandId()); - //TODO JOBAPI: job lifetime management - //Right now we're just leaking jobs. In this case we'd like jobs that are heap allocated and delete - //themselves once done. In other cases we'd like jobs that only live as long as their handle though. - //FIXME this job is stack allocated and thus simply dies.... processQueuedCommand(queuedCommand).then( [callback]() { callback(true); -- cgit v1.2.3