diff options
author | Antti Määttä <antti.maatta@qt.io> | 2017-03-14 09:10:15 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-04-05 14:51:17 +0000 |
commit | 6729e2cf8ed26c4087b700cf883a379594d6b78f (patch) | |
tree | 3bf8b90c0a1b7c7f2fe2342c44f02b67d6a07cb5 /src/logic | |
parent | f911323cfb648138c65c02b538ffe42fded19f6b (diff) |
Fix crash in rendercapture-cpp
The completed signal can deallocate the RenderCaptureReply, which causes
the deprecated signal call to crash. Add Weak pointer to the reply to
detect this and call the signal only if the reply is still valid.
Change-Id: Ib0324fb3637bb1cad3e17b0e7cc47a8be67b9319
Reviewed-by: Juan José Casafranca
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/logic')
0 files changed, 0 insertions, 0 deletions