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