tests: 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 91147c6e80
commit 6a0a3a014f
  1. 4
      tests/weston-test-desktop-shell.c

@ -170,6 +170,10 @@ shell_destroy(struct wl_listener *listener, void *data)
weston_desktop_destroy(dts->desktop);
weston_view_destroy(dts->background_view);
weston_surface_destroy(dts->background_surface);
weston_layer_fini(&dts->layer);
weston_layer_fini(&dts->background_layer);
free(dts);
}

Loading…
Cancel
Save