aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-14 16:48:30 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-15 06:43:34 +0200
commitdf267e50195c00f2085ed93ceb5f59ed81f89206 (patch)
tree2f8eb9115b4b1620028b795e52d2d96a460c9446 /src/qml/jsruntime/qv4function.cpp
parent1be51cc3e7c9ca5256a52136d6fcc9c22c997625 (diff)
Fix GC issue with incubators
Never use multiple inheritance with Managed subclasses, as this can easily mess up garbage collection. In this case the vtable from the QQmlIncubator would be added before the start of the Managed pointer. That would not work correctly for the memory manager that casts void pointers to Managed pointers. Change-Id: I1c1ebc6c44bd9cb77eea49738e86ce3374c7ef80 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions