Context
- If Hooks::onExit indicates changes, TDB2::commit is called.
This commit is contained in:
@@ -279,7 +279,8 @@ int Context::run ()
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
rc = dispatch (output);
|
rc = dispatch (output);
|
||||||
hooks.onExit ();
|
if (hooks.onExit ())
|
||||||
|
tdb2.commit ();
|
||||||
|
|
||||||
std::stringstream s;
|
std::stringstream s;
|
||||||
s << "Perf "
|
s << "Perf "
|
||||||
|
|||||||
Reference in New Issue
Block a user