Skip to content

screenshooter: Add SHM buffer destroy listener to avoid invalid memcpy

Paul Kocialkowski requested to merge PaulKocialkowski/weston:main into main

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: Paul Kocialkowski

Merge request reports