aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-10-31 13:45:10 +0100
committerQt by Nokia <qt-info@nokia.com>2011-10-31 17:02:48 +0100
commitef0d9792c0aaa70f25b9f9daab824bdec37fac4f (patch)
treef2eb4a8500f833221912d429902f509253cf06ce /src/declarative/debugger
parent7c723fdb4d395ccc29e0289ae085e285c9701abe (diff)
Debugger: Fix crash on exit
It's not guaranteed that the static instance of QPerformanceTimer still exists when the (also static) QDeclarativeDebugTrace instance is deleted. Change-Id: I24ca3154e592011af43714c2574f7243f7550109 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
Diffstat (limited to 'src/declarative/debugger')
-rw-r--r--src/declarative/debugger/qdeclarativedebugtrace.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugtrace.cpp b/src/declarative/debugger/qdeclarativedebugtrace.cpp
index 7d63849383..bb092c19f3 100644
--- a/src/declarative/debugger/qdeclarativedebugtrace.cpp
+++ b/src/declarative/debugger/qdeclarativedebugtrace.cpp
@@ -89,8 +89,6 @@ QDeclarativeDebugTrace::QDeclarativeDebugTrace()
QDeclarativeDebugTrace::~QDeclarativeDebugTrace()
{
- // unregister the callback
- QUnifiedTimer::instance()->registerProfilerCallback( 0 );
}
void QDeclarativeDebugTrace::addEngine(QDeclarativeEngine * /*engine*/)