aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-03-10 17:05:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 14:19:22 +0100
commit59fa9e3bb49ccdf1a764599aab63950bf156c370 (patch)
tree04861c50d48538c53b2e64c74fea0869eb6818b8 /src
parent8ed6c62dc76ebc2e510ecc028c34c160018af86c (diff)
Don't delete the QML engines from the profiler service destructor
Task-number: QTBUG-37382 Change-Id: Ib40d69813794e18cc7c7f05e10881b1b23a93b4e Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/debugger/qqmlprofilerservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmlprofilerservice.cpp b/src/qml/debugger/qqmlprofilerservice.cpp
index 397576a99d..4323fe7dc9 100644
--- a/src/qml/debugger/qqmlprofilerservice.cpp
+++ b/src/qml/debugger/qqmlprofilerservice.cpp
@@ -70,7 +70,7 @@ QQmlProfilerService::~QQmlProfilerService()
{
// No need to lock here. If any engine or global profiler is still trying to register at this
// point we have a nasty bug anyway.
- qDeleteAll(m_engineProfilers.keys());
+ qDeleteAll(m_engineProfilers.values());
qDeleteAll(m_globalProfilers);
}