forked from qt-creator/qt-creator
QmlDesigner: Fix construction order
The connections have to be destructed before the local server. Change-Id: Ie1c349b72c67c4359eba78e9567e38f577c7bc10 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -66,12 +66,12 @@ private:
|
||||
void printProcessOutput(QProcess *process, const QString &connectionName);
|
||||
void closeSocketsAndKillProcesses();
|
||||
|
||||
private:
|
||||
std::unique_ptr<QLocalServer> m_localServer;
|
||||
|
||||
protected:
|
||||
std::vector<Connection> m_connections;
|
||||
quint32 m_writeCommandCounter = 0;
|
||||
|
||||
private:
|
||||
std::unique_ptr<QLocalServer> m_localServer;
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
Reference in New Issue
Block a user