mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 09:17:19 +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
|
try
|
||||||
{
|
{
|
||||||
rc = dispatch (output);
|
rc = dispatch (output);
|
||||||
hooks.onExit ();
|
if (hooks.onExit ())
|
||||||
|
tdb2.commit ();
|
||||||
|
|
||||||
std::stringstream s;
|
std::stringstream s;
|
||||||
s << "Perf "
|
s << "Perf "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue