mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-11-05 18:24:04 +00:00
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:
parent
9706a807f9
commit
91147c6e80
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue