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>
QDeclarativeDebugTrace::~QDeclarativeDebugTrace()
{
QDeclarativeDebugTrace::~QDeclarativeDebugTrace()
{
- // unregister the callback
- QUnifiedTimer::instance()->registerProfilerCallback( 0 );
}
void QDeclarativeDebugTrace::addEngine(QDeclarativeEngine * /*engine*/)
}
void QDeclarativeDebugTrace::addEngine(QDeclarativeEngine * /*engine*/)