Hooks
- Gutted the Hooks object. - Commented out on-launch and on-exit triggers.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user