diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-12-23 18:26:50 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-12-23 18:19:57 +0000 |
commit | 9c4621217f47b8427e284423d4e5c5e4dba00bfc (patch) | |
tree | 50c2cc2fddfdb1c6c5432fa1a8aeae3251a0d7e3 /src/qml/jsruntime/qv4qobjectwrapper.cpp | |
parent | 7842c2c19c16e6d52d1b138fb33ee563bae0faae (diff) |
Revert "Fix QtSharedPointer::ExternalRefCountData object leaks"
This reverts commit 839d2d3e2368bc8e107d22203b0611c852f54319, which has
been causing crashes in qtquickcontrols2 auto tests and making it nearly
impossible to integrate anything over the past few days.
Change-Id: I570b286a067aae5e3c2d8c56ad601e1a6cb58c20
Task-number: QTBUG-50134
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4qobjectwrapper.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp index 2cb8991055..8f471132b7 100644 --- a/src/qml/jsruntime/qv4qobjectwrapper.cpp +++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp @@ -1019,11 +1019,6 @@ void QObjectWrapper::markObjects(Heap::Base *that, QV4::ExecutionEngine *e) void QObjectWrapper::destroyObject(bool lastCall) { Heap::QObjectWrapper *h = d(); - destroyObject(h, lastCall); -} - -void QObjectWrapper::destroyObject(Heap::QObjectWrapper *h, bool lastCall) -{ if (!h->internalClass) return; // destroyObject already got called |