OSDN Git Service

QmlDebug: Fix crash on app closing
authorKai Koehne <kai.koehne@nokia.com>
Mon, 21 Mar 2011 12:24:45 +0000 (13:24 +0100)
committerKai Koehne <kai.koehne@nokia.com>
Mon, 21 Mar 2011 14:07:34 +0000 (15:07 +0100)
commit58e697bc0959c3a5f038b38c9e4f0d9ba73f2fe1
tree67c70667fe7d6c18e4d1aa1bc73ffd0979e2ae63
parentbd2e4af905b88e8d3779c3eca1ab75d479851e8c
QmlDebug: Fix crash on app closing

Make sure that the engineClient object is the parent of all of its
queries, since the destructor of a query might try to access the client
...

Reviewed-by: Christiaan Janssen
Task-number: QTCREATORBUG-4105
src/plugins/qmljsinspector/qmljsclientproxy.cpp
src/plugins/qmljsinspector/qmljsclientproxy.h
src/plugins/qmljsinspector/qmljsinspector.cpp