mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
Bug
- Fixed a silly bug whereby TDB2::gc, once it loaded the data, wiped the TF2 objects, such that TDB2::commit didn't know there was data to write. Hmm. Time for a vacation.
This commit is contained in:
parent
8bf1386b78
commit
f74c33dc02
1 changed files with 2 additions and 0 deletions
|
@ -1603,6 +1603,7 @@ int TDB2::gc ()
|
|||
{
|
||||
pending.clear ();
|
||||
pending._dirty = true;
|
||||
pending._loaded_tasks = true;
|
||||
|
||||
for (task = pending_tasks_after.begin ();
|
||||
task != pending_tasks_after.end ();
|
||||
|
@ -1617,6 +1618,7 @@ int TDB2::gc ()
|
|||
{
|
||||
completed.clear ();
|
||||
completed._dirty = true;
|
||||
completed._loaded_tasks = true;
|
||||
|
||||
for (task = completed_tasks_after.begin ();
|
||||
task != completed_tasks_after.end ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue