diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2017-04-19 14:18:06 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2017-04-19 12:32:25 +0000 |
commit | 6a8a7e60ab91f958a1dd63e787a23f6e09f463b1 (patch) | |
tree | dac5ff57207884d558ae0a44cebad95b70b87299 /tests | |
parent | 49fa5d9b6915cba4264b090ff0ee98e5b5c5eac8 (diff) |
Fix for dangling object pointers in QQmlErrors
This rarely happens - only seen with Delegates - when
- an object is created during incubation
- some error occurs in this object
- the object gets deleted before the incubation run finishes
Because the errors are delivered after the incubation run finished, the
object() pointer of QQmlError is now a dangling pointer that will crash
your application if accessed.
Change-Id: Idd9fccbc58e4ada67bde3ca1aeec736aa9374789
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions