aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontext.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-07 12:29:30 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-07 14:32:08 +0200
commit2fc19b516f1bb0a67609570a6ca62f42db7f0f47 (patch)
tree8a00d4014479ad446bc8228835e6bdc650457358 /src/qml/qml/qqmlcontext.cpp
parent41f8a7c0f645e04dba5952c4cdb87828ea2a884b (diff)
Remove more v8::Persistent usages
Change-Id: Ifa1706e2e609ded86a8bc1a840ca2ed36b869098 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontext.cpp')
-rw-r--r--src/qml/qml/qqmlcontext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/qml/qqmlcontext.cpp b/src/qml/qml/qqmlcontext.cpp
index b865ff055b..9b196a640e 100644
--- a/src/qml/qml/qqmlcontext.cpp
+++ b/src/qml/qml/qqmlcontext.cpp
@@ -654,10 +654,6 @@ void QQmlContextData::destroy()
if (v8bindings)
v8bindings->release();
- for (int ii = 0; ii < importedScripts.count(); ++ii) {
- qPersistentDispose(importedScripts[ii]);
- }
-
delete [] idValues;
if (isInternal)