From 2db184db60bbff210b4e39f9878cbda856a769e0 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 16 Mar 2016 16:33:34 +0100 Subject: [PATCH] CMake: Make sure processes are dead before cleaning temporary directory This should stop messages about processes still running when cleaning up the directory on windows. This also makes sure the progress bars are closed again. Change-Id: Ic3e94efc8bdecca35437987e0647284cb48af121 Reviewed-by: Tim Jenssen --- src/plugins/cmakeprojectmanager/builddirmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cmakeprojectmanager/builddirmanager.cpp b/src/plugins/cmakeprojectmanager/builddirmanager.cpp index 5e02b6e7055..b34a4ac481e 100644 --- a/src/plugins/cmakeprojectmanager/builddirmanager.cpp +++ b/src/plugins/cmakeprojectmanager/builddirmanager.cpp @@ -110,6 +110,7 @@ BuildDirManager::BuildDirManager(const CMakeBuildConfiguration *bc) : BuildDirManager::~BuildDirManager() { + stopProcess(); resetData(); delete m_tempDir; }