|
|
@ -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,7 +313,15 @@ public:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_SlaveTaskState = SOMEWHERE_INBETWEEN;
|
|
|
|
m_SlaveTaskState = SOMEWHERE_INBETWEEN;
|
|
|
|
CInfoFlags::getInstance()->removeFlag(PIPELINE_INFO_PLUGIN_WORKING);
|
|
|
|
CInfoFlags::getInstance()->removeFlag(PIPELINE_INFO_PLUGIN_WORKING);
|
|
|
|
finishedTask(m_ActiveProcess->m_SubTaskResult, m_ActiveProcess->m_SubTaskErrorMessage);
|
|
|
|
if (m_AbortRequested)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
nlinfo("Aborted slave task while plugin was working");
|
|
|
|
|
|
|
|
finalizeAbort();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
finishedTask(m_ActiveProcess->m_SubTaskResult, m_ActiveProcess->m_SubTaskErrorMessage);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -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;
|
|
|
|