Changed: #1440 Nicely handle abort button hammering

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent cae3ef87cd
commit 1cbcba202c

@ -636,9 +636,14 @@ public:
bool abort() bool abort()
{ {
if (m_BuildWorking) if (m_BuildWorking)
{
if (!m_AbortRequested)
{ {
m_AbortRequested = true; m_AbortRequested = true;
CInfoFlags::getInstance()->addFlag(PIPELINE_INFO_ABORTING); CInfoFlags::getInstance()->addFlag(PIPELINE_INFO_ABORTING);
}
// Yes, we effectively send the abort again to the slaves, it makes for a more epic abort button hammering experience.
m_BuildTaskQueue.abortQueue(); m_BuildTaskQueue.abortQueue();

Loading…
Cancel
Save