Skip to content
Commit 0afd3428 authored by Paul Kocialkowski's avatar Paul Kocialkowski
Browse files

screenshooter: Add SHM buffer destroy listener to avoid invalid memcpy



This adds a destroy listener on the SHM buffer provided by our client.
It will unregister the frame notify listener in case our buffer is
destroyed before the frame signal is emitted and thus avoid a memcpy
to invalid memory.

Signed-off-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
parent 036a76e3
Loading
Loading
Loading
Pipeline #703987 passed with stages
in 3 minutes and 6 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment