forked from qt-creator/qt-creator
CMake: Fix crash when changing build directory several times in a row
Change-Id: I349e72a321f1a0cdcbce4f948c363336815ef3f3 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
a7d89e6bc8
commit
62570e1640
@@ -295,6 +295,8 @@ void BuildDirManager::stopProcess()
|
||||
|
||||
cleanUpProcess();
|
||||
|
||||
if (!m_future)
|
||||
return;
|
||||
m_future->reportCanceled();
|
||||
m_future->reportFinished();
|
||||
delete m_future;
|
||||
|
||||
Reference in New Issue
Block a user