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:
Marco Bubke
2020-09-22 10:10:31 +02:00
parent 08541305b6
commit a003a2e9f3

View File

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