markObjects wasn't calling the parent implementation, so
the members in Object and FunctionObject didn't get
marked properly and thus collected early by the garbage
collector.
Change-Id: Iee036de909b68002db6d363263e739dcf857f024
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
QObjectMethod::Data *This = static_cast<QObjectMethod::Data*>(that);
This->qmlGlobal.mark(e);
This->valueTypeWrapper.mark(e);
+
+ FunctionObject::markObjects(that, e);
}
DEFINE_OBJECT_VTABLE(QObjectMethod);