Ensure all persistent handles are disposed properly
authorChris Adams <christopher.adams@nokia.com>
Wed, 5 Oct 2011 07:37:12 +0000 (17:37 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 5 Oct 2011 08:41:32 +0000 (10:41 +0200)
commit1a36b216b19919f4489881bc5807b14cdb74c167
tree05360ee700f3652dcdf5e857ae63b039999c8e6c
parent17aa5272d8f20f3e64e3bcb5c1c5bb1af8e1c7f2
Ensure all persistent handles are disposed properly

Previously, some handles were leaking, which was causing a dramatic
slowdown in v8 gc speed over time.

Change-Id: I1e8d674b48647b7a0063a4b1c8d83130795502a0
Reviewed-on: http://codereview.qt-project.org/6026
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/qdeclarativesqldatabase.cpp
src/declarative/qml/v8/qv8engine.cpp
src/declarative/qml/v8/qv8gccallback_p.h