From f8c06c96b698392bea24f388840dec03274cb14b Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 12 May 2009 23:42:35 +1000 Subject: Disable code that triggers a crash at exit. This is a hack. We should fix it properly. --- src/declarative/qml/qmlcontext.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp index 91bf1c0..fa36eb1 100644 --- a/src/declarative/qml/qmlcontext.cpp +++ b/src/declarative/qml/qmlcontext.cpp @@ -85,9 +85,11 @@ void QmlContextPrivate::destroyed(QObject *obj) notifies.append(ii); } } - for (int ii = 0; ii < notifies.count(); ++ii) { - QMetaObject::activate(q, notifies[ii] + notifyIndex, 0); - } + + // ### Work around bug in shutdown + // for (int ii = 0; ii < notifies.count(); ++ii) { + // QMetaObject::activate(q, notifies[ii] + notifyIndex, 0); + // } } void QmlContextPrivate::init() -- cgit v0.12