forked from qt-creator/qt-creator
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 <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -110,6 +110,7 @@ BuildDirManager::BuildDirManager(const CMakeBuildConfiguration *bc) :
|
|||||||
|
|
||||||
BuildDirManager::~BuildDirManager()
|
BuildDirManager::~BuildDirManager()
|
||||||
{
|
{
|
||||||
|
stopProcess();
|
||||||
resetData();
|
resetData();
|
||||||
delete m_tempDir;
|
delete m_tempDir;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user