Hooks
- Modified ::onExit to remove the indicator that data was modified. This is not supported.
This commit is contained in:
@@ -136,13 +136,10 @@ void Hooks::onLaunch ()
|
||||
// Exit:
|
||||
// 0 Means: - all emitted non-JSON lines become footnote entries
|
||||
// non-0 Means: - all emitted non-JSON lines become error entries
|
||||
bool Hooks::onExit ()
|
||||
void Hooks::onExit ()
|
||||
{
|
||||
context.timer_hooks.start ();
|
||||
|
||||
// Status indicates whether hooks resulted in new/modified tasks.
|
||||
bool status = false;
|
||||
|
||||
std::vector <std::string> matchingScripts = scripts ("on-exit");
|
||||
std::vector <std::string>::iterator i;
|
||||
for (i = matchingScripts.begin (); i != matchingScripts.end (); ++i)
|
||||
@@ -169,7 +166,6 @@ bool Hooks::onExit ()
|
||||
}
|
||||
|
||||
context.timer_hooks.stop ();
|
||||
return status;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user