Skip to content

Commit

Permalink
rollback abort !started changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith committed Jun 20, 2024
1 parent 3c2009e commit f24fafe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thorlcr/graph/thgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ bool CGraphBase::wait(unsigned timeout)

void CGraphBase::abort(IException *e)
{
if (aborted || !started)
if (aborted)
return;

GraphPrintLog("Aborted");
Expand Down
2 changes: 1 addition & 1 deletion thorlcr/graph/thgraphslave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ void CSlaveGraph::executeSubGraph(size32_t parentExtractSz, const byte *parentEx

void CSlaveGraph::abort(IException *e)
{
if (aborted || !started)
if (aborted)
return;
if (!graphDone) // set pre done(), no need to abort if got that far.
CGraphBase::abort(e);
Expand Down

0 comments on commit f24fafe

Please sign in to comment.