Don't store the qmlscope object in a persistent
authorLars Knoll <lars.knoll@theqtcompany.com>
Sun, 3 May 2015 17:11:53 +0000 (19:11 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Thu, 18 Jun 2015 05:48:10 +0000 (05:48 +0000)
commit17a336714dcc16e786a619d68d2901e0e93e86a4
tree1c9216cd7fcb98781a87a877d8af47d813ab617a
parent7be7651e9d6699981ed13643eff0aa43ca1bed4e
Don't store the qmlscope object in a persistent

This doesn't make sense, as the persistent is never being
used. So either the scope object is being used from somewhere
else in which case it'll be referenced and marked from there,
or it's not being used in which case, we might as well collect it.

Change-Id: I56cb45282cbc795d4c59314c10491dedb9b7d478
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/debugger/qqmlenginedebugservice.cpp
src/qml/qml/qqmlexpression.cpp
src/qml/qml/qqmlexpression_p.h
src/qml/qml/qqmljavascriptexpression.cpp
src/qml/qml/qqmljavascriptexpression_p.h