Proper fix for buffer destruction
The previous fix (93ca929f) would always crash on client exit. It tried use the same destroy_listener on several buffers. Due to the way linked lists are implemented in Wayland, a listener can only be listening to one signal at the time. The correct way to do this is to create a new listener for each buffer. Change-Id: Ie94dd8cd2d3dc7f93a0526c5c585a8feab3b7354 Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Louai Al-Khanji <louai.al-khanji@theqtcompany.com>