summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2018-06-04 14:31:44 +0200
committerAndy Nichols <andy.nichols@qt.io>2018-06-05 09:58:26 +0000
commitee5ff2eb431a0df660a577f9d2e820ab283b7d6b (patch)
tree7b20d18c8def718e2297123a93072fcdcb50a0e8
parent8b74ba56007613cad8be9467d47ed8f183e284f1 (diff)
It's not necessary to explicitly disconnect on exit
Doing so here will lead to a crash because we will try and reopen the conneciton info scene. Instead the sever will disconnect in its own destructor. Task-number: QT3DS-1862 Change-Id: I0c6454b5abdad811dcbd6dcbd7eae996f06e18f3 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
-rw-r--r--tools/q3dsviewer/q3dsremotedeploymentmanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/q3dsviewer/q3dsremotedeploymentmanager.cpp b/tools/q3dsviewer/q3dsremotedeploymentmanager.cpp
index 2696ebd..7126f14 100644
--- a/tools/q3dsviewer/q3dsremotedeploymentmanager.cpp
+++ b/tools/q3dsviewer/q3dsremotedeploymentmanager.cpp
@@ -70,7 +70,6 @@ Q3DSRemoteDeploymentManager::Q3DSRemoteDeploymentManager(Q3DSEngine *engine, int
Q3DSRemoteDeploymentManager::~Q3DSRemoteDeploymentManager()
{
- m_server->disconnectRemote();
}
void Q3DSRemoteDeploymentManager::setConnectionPort(int port)