Commit 16c5a149 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.instances: crash fix

NodeInstanceServer::clearScene() deletes the objects.
The m_designerSupport hold pointers to all objects for cleanup
in destructor.

Change-Id: I5ad4361d0c1de6f9eb9fb0d5cd80cf66717ce7fd
Reviewed-by: default avatarMarco Bubke <>
parent 97cc22d6
......@@ -143,9 +143,9 @@ void Qt5NodeInstanceServer::createScene(const CreateSceneCommand &command)
void Qt5NodeInstanceServer::clearScene(const ClearSceneCommand &command)
delete m_designerSupport;
m_designerSupport = 0;
} // QmlDesigner
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment