diff --git a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp index 579b1e23c..4e59b39c3 100644 --- a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp +++ b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp @@ -256,6 +256,8 @@ public: m_SlaveTaskState = SOMEWHERE_INBETWEEN; // Done with the status updating, now do something fancey // ... TODO ... + // not implemented, so abort. + abortBuildTask(NULL); } } } @@ -372,11 +374,12 @@ public: /// Master or user request to abort. virtual void abortBuildTask(NLNET::IModuleProxy *sender) { - if (m_ActiveProject) + if (m_ActiveProject && !m_AbortRequested) { // Sender NULL is request from slave (user exit, command or master disconnect), otherwise request from master. nlassert(sender == NULL || m_Master->getModuleProxy() == sender); // sanity check + nlwarning("Aborting"); // ?TODO? Actually wait for the task manager etc to end before sending the aborted confirmation. CInfoFlags::getInstance()->addFlag(PIPELINE_INFO_ABORTING); m_AbortRequested = true;