mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- Relocated the hooks.onExit call to a location where it can still influence output.
This commit is contained in:
parent
7bf2b4039e
commit
cc112aeec7
1 changed files with 2 additions and 3 deletions
|
@ -296,6 +296,7 @@ int Context::run ()
|
|||
try
|
||||
{
|
||||
rc = dispatch (output);
|
||||
hooks.onExit ();
|
||||
|
||||
std::stringstream s;
|
||||
s << "Perf "
|
||||
|
@ -385,9 +386,7 @@ int Context::run ()
|
|||
std::cerr << colorizeError (*e) << "\n";
|
||||
else
|
||||
std::cerr << *e << "\n";
|
||||
/*
|
||||
hooks.trigger ("on-exit");
|
||||
*/
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue