forked from qt-creator/qt-creator
Fix a crash inside ModelManagerInterface on Creator shutdown
Synchronize all the running futures on shutdown. It's enough that all threads started by runAsync() just finish, without the need for delivering the results of these futures to onFinished handlers. Fixes: QTCREATORBUG-25350 Change-Id: Iac5ae3834bb02ef0a77b063c59097471ec7e757d Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
This commit is contained in:
@@ -244,7 +244,7 @@ protected:
|
||||
void setDefaultProject(const ProjectInfo &pInfo, ProjectExplorer::Project *p);
|
||||
|
||||
private:
|
||||
void joinAllThreads();
|
||||
void joinAllThreads(bool cancelOnWait = false);
|
||||
void iterateQrcFiles(ProjectExplorer::Project *project,
|
||||
QrcResourceSelector resources,
|
||||
const std::function<void(Utils::QrcParser::ConstPtr)> &callback);
|
||||
|
||||
Reference in New Issue
Block a user