| 31 | } |
| 32 | |
| 33 | BuildProjectTool::~BuildProjectTool() |
| 34 | { |
| 35 | for (auto it = m_activeBuilds.begin(); it != m_activeBuilds.end(); ++it) { |
| 36 | BuildInfo &info = it.value(); |
| 37 | if (info.buildFinishedConnection) { |
| 38 | disconnect(info.buildFinishedConnection); |
| 39 | } |
| 40 | if (info.promise) { |
| 41 | info.promise->finish(); |
| 42 | } |
| 43 | } |
| 44 | m_activeBuilds.clear(); |
| 45 | } |
| 46 | |
| 47 | QString BuildProjectTool::id() const |
| 48 | { |