mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
wayland: destroy presentation feedback on uninit
Nothing major but it's technically possible for the wp_presentation_feedback struct to still be allocated when quitting the player. Just destroy it if it exists like all of the other wayland objects.
This commit is contained in:
parent
6573e0a0af
commit
e107342ff9
@ -1254,6 +1254,9 @@ void vo_wayland_uninit(struct vo *vo)
|
||||
if (wl->presentation)
|
||||
wp_presentation_destroy(wl->presentation);
|
||||
|
||||
if (wl->feedback)
|
||||
wp_presentation_feedback_destroy(wl->feedback);
|
||||
|
||||
if (wl->pointer)
|
||||
wl_pointer_destroy(wl->pointer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user