CmdProjects: Enforce garbage collector
This commit is contained in:
committed by
Paul Beckingham
parent
58e62711f3
commit
ffd6465661
@@ -53,6 +53,9 @@ int CmdProjects::execute (std::string& output)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
// Enforce the garbage collector to show correct task counts
|
||||
context.tdb2.gc ();
|
||||
|
||||
// Get all the tasks.
|
||||
handleRecurrence ();
|
||||
std::vector <Task> tasks = context.tdb2.pending.get_tasks ();
|
||||
|
||||
Reference in New Issue
Block a user