@ -290,6 +290,12 @@ public:
finishedTask ( m_ActiveProcess - > m_SubTaskResult , m_ActiveProcess - > m_SubTaskErrorMessage ) ;
break ;
}
if ( m_AbortRequested )
{
nlinfo ( " Aborted slave task after getting removed files " ) ;
finalizeAbort ( ) ;
break ;
}
// Build the lists of files added changed removed
buildListsOfFiles ( ) ;
@ -307,8 +313,16 @@ public:
{
m_SlaveTaskState = SOMEWHERE_INBETWEEN ;
CInfoFlags : : getInstance ( ) - > removeFlag ( PIPELINE_INFO_PLUGIN_WORKING ) ;
if ( m_AbortRequested )
{
nlinfo ( " Aborted slave task while plugin was working " ) ;
finalizeAbort ( ) ;
}
else
{
finishedTask ( m_ActiveProcess - > m_SubTaskResult , m_ActiveProcess - > m_SubTaskErrorMessage ) ;
}
}
break ;
default :
finishedTask ( FINISH_ERROR , " Task got lost somewhere inbetween the code of the slave service. This is a programming error. Implementation may be incomplete. " ) ;
@ -645,6 +659,9 @@ public:
CInfoFlags : : getInstance ( ) - > addFlag ( PIPELINE_INFO_ABORTING ) ;
m_AbortRequested = true ;
if ( m_ActiveProcess )
m_ActiveProcess - > m_Aborting = true ;
// ?TODO?
//m_ActiveProject = NULL;
//m_ActiveProcess = NULL;