diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2012-04-03 12:37:29 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 16:22:04 +0200 |
commit | 7aa4c4164e0b7e09bfb0ea50d7f70203f7871bc6 (patch) | |
tree | 159697b3f94cb5cf591f46be4535253e9ad62ea3 /src/quick/scenegraph/qsgshareddistancefieldglyphcache_p.h | |
parent | 411066bdf2d09a8f0071eb9d494287a6a95639fb (diff) |
Don't crash if calling a method on a QObject that has been gc()'d
As we don't actually delete an object immediately when it is collected,
it is possible to get into a situation where a method is called on an
object after the collector has marked it to be destroyed. This fixes
a crash in this case.
Change-Id: I131d4c5d7ed788a91aa52f6af2e5c089d9bf5e08
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgshareddistancefieldglyphcache_p.h')
0 files changed, 0 insertions, 0 deletions