https://bugs.kde.org/show_bug.cgi?id=372552

--- Comment #2 from Kevin Funk <kf...@kde.org> ---
Okay, I was wrong, this was never really supported. This is the logic for
killing previous make jobs (which has been in KDevelop for several years
already):

```
KJob* MakeBuilder::runMake( KDevelop::ProjectBaseItem* item,
MakeJob::CommandType c,
                            const QStringList& overrideTargets,
                            const MakeVariables& variables )
{
    ///Running the same builder twice may result in serious problems,
    ///so kill jobs already running on the same project
    foreach (MakeJob* makeJob, m_activeMakeJobs.data())
    {
        if(item && makeJob->item() && makeJob->item()->project() ==
item->project() && makeJob->commandType() == c) {
            qCDebug(MAKEBUILDER) << "killing running make job, due to new
started build on same project:" << makeJob;
            makeJob->kill(KJob::EmitResult);
        }
    }
    ...
```

We need to overthink that in order to support your use-case. I'm surprised
noone  else stepped over it yet, though...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to