kiosk-shell: call weston_layer_fini()

This ensures the layers are torn down properly.

See commit: libweston: add weston_layer_fini()

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2021-05-14 14:37:46 +03:00
parent 9706a807f9
commit 91147c6e80

View file

@ -1071,6 +1071,9 @@ kiosk_shell_destroy(struct wl_listener *listener, void *data)
weston_desktop_destroy(shell->desktop);
weston_layer_fini(&shell->background_layer);
weston_layer_fini(&shell->normal_layer);
free(shell);
}