diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2013-04-25 18:10:01 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-29 19:35:42 +0200 |
commit | 51665a9ecaebaef2382c1e76ebedfeffacb4b3de (patch) | |
tree | c9cdd016415ecc7a6706fc48899d84f7af07fdc5 /src/qml/qml/qqmlvme.cpp | |
parent | 166249325432912ea7135427c0b8a600f70c5f4f (diff) |
QQmlVMEGuard is not ok if one of the context engines is gone
Task-number: QTBUG-30632
Change-Id: Idff323f5b29688477e31030111d4f49f644115cd
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/qml/qml/qqmlvme.cpp')
-rw-r--r-- | src/qml/qml/qqmlvme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvme.cpp b/src/qml/qml/qqmlvme.cpp index ad76b702ce..8c2902a7a6 100644 --- a/src/qml/qml/qqmlvme.cpp +++ b/src/qml/qml/qqmlvme.cpp @@ -1469,7 +1469,7 @@ bool QQmlVMEGuard::isOK() const return false; for (int ii = 0; ii < m_contextCount; ++ii) - if (m_contexts[ii].isNull()) + if (m_contexts[ii].isNull() || !m_contexts[ii]->engine) return false; return true; |