Debugger: Fix crash on exit
authorKai Koehne <kai.koehne@nokia.com>
Mon, 31 Oct 2011 12:45:10 +0000 (13:45 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 31 Oct 2011 16:02:48 +0000 (17:02 +0100)
commitef0d9792c0aaa70f25b9f9daab824bdec37fac4f
treef2eb4a8500f833221912d429902f509253cf06ce
parent7c723fdb4d395ccc29e0289ae085e285c9701abe
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>
src/declarative/debugger/qdeclarativedebugtrace.cpp