Commit d005c5c8 authored by Alan Alpert's avatar Alan Alpert Committed by The Qt Project
Browse files

Strengthen reference to var properties during construction


Normally var properties are kept alive by a reference to the object they
are declared on, but during the construction of that object the GC may
not be aware of said object. This change uses a strong reference during
GC passes which take place while the object is being constructed.

Task-number: QTBUG-29138
Change-Id: Ieecfcc7567aefac0d67cb933728daf16ed3eed0a
Reviewed-by: default avatarChristopher Adams <chris.adams@jollamobile.com>
parent 6327d294
Showing with 6 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment