diff options
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 2e77d8257b..2f873936e3 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -1654,7 +1654,7 @@ void QQmlData::destroyed(QObject *object) delete extendedData; // Dispose the handle. - jsWrapper = QV4::Value::undefinedValue(); + jsWrapper.clear(); if (ownMemory) delete this; |