Commit 55b055b2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Parser: Add comment about objects lifetime

parent 84f16e77
......@@ -125,6 +125,8 @@ void Parser::run()
try
{
(*task->it)->run( task->file, task );
// Consider the task invalid starting from this point. If it completed
// it cleared itself afterward.
}
catch (const std::exception& ex)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment