Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.4.0
-
None
-
Windows 7, VS2010
-
0b60867f80e207a9ccc27cc337116d1c6fc928bd
Description
I haven't been able to track down the change that has caused this, but since updating to 5.4, I am getting crashes stemming from deleted QQuickItems still being present in the dirty list. The crash occurs in QQuickItemPrivate::addToDirtyList() when it calls QQuickItemPrivate::get(nextDirtyItem) on the deleted item. I did not see this crash in 5.3.1, but maybe I was just getting lucky.
I would think that a good fix would be to call d->removeFromDirtyList() at the end of ~QQuickItem(), and I'm happy to submit a patch to do that, but I wanted to verify that fix with someone who is more familiar with this code. Please let me know if you'd like me to submit a patch.
Thanks,
Alex