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>
dev
Pekka Paalanen 4 years ago
parent 9706a807f9
commit 91147c6e80
  1. 3
      kiosk-shell/kiosk-shell.c

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

Loading…
Cancel
Save