- Relocated the hooks.onExit call to a location where it can still influence
  output.
This commit is contained in:
Paul Beckingham 2014-05-13 16:49:29 -04:00
parent 7bf2b4039e
commit cc112aeec7

View file

@ -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;
}