forked from qt-creator/qt-creator
LanguageClient: reset project pointer when project is closed
Change-Id: I9a2787404bd47bf338125df1066d88e9061b5768 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -813,6 +813,7 @@ void Client::projectClosed(ProjectExplorer::Project *project)
|
|||||||
m_state = Shutdown; // otherwise the manager would try to restart this server
|
m_state = Shutdown; // otherwise the manager would try to restart this server
|
||||||
emit finished();
|
emit finished();
|
||||||
}
|
}
|
||||||
|
m_project = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user