LanguageClient: reset project pointer when project is closed

Change-Id: I9a2787404bd47bf338125df1066d88e9061b5768
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-02-23 13:38:30 +01:00
parent 6929935111
commit d46d53de1f

View File

@@ -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;
} }
} }