- Gutted the Hooks object.
- Commented out on-launch and on-exit triggers.
This commit is contained in:
Paul Beckingham 2014-05-13 16:23:50 -04:00
parent 7f3e42e4e1
commit bfb19e0a64
3 changed files with 5 additions and 170 deletions

View file

@ -221,10 +221,12 @@ int Context::initialize (int argc, const char** argv)
// Initialize the database.
tdb2.set_location (data_dir);
/*
// Hook system init, plus post-start event occurring at the first possible
// moment after hook initialization.
hooks.initialize ();
hooks.trigger ("on-launch");
*/
}
catch (const std::string& message)
@ -384,8 +386,9 @@ int Context::run ()
std::cerr << colorizeError (*e) << "\n";
else
std::cerr << *e << "\n";
/*
hooks.trigger ("on-exit");
*/
return rc;
}