mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context
- If Hooks::onExit indicates changes, TDB2::commit is called.
This commit is contained in:
parent
4ef189d7b6
commit
8ee02c8bac
1 changed files with 2 additions and 1 deletions
|
@ -279,7 +279,8 @@ int Context::run ()
|
|||
try
|
||||
{
|
||||
rc = dispatch (output);
|
||||
hooks.onExit ();
|
||||
if (hooks.onExit ())
|
||||
tdb2.commit ();
|
||||
|
||||
std::stringstream s;
|
||||
s << "Perf "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue