summaryrefslogtreecommitdiffstats
path: root/src/desktop.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-03 18:04:14 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-03 18:17:26 +0300
commit71deafe03f41738bfcd7eafd21c3262c29f45ee7 (patch)
treef7e601e96eb19b8dc3775aaf13689431a6a65b6e /src/desktop.c
parent41791c9fa1839e93a65b262524798aa9689c4ffc (diff)
shell: Added missing layer fini calls
Newer libweston version introduced additional API to determine if we are missing out proper destruction paths. Bug-AGL: SPEC-4351 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I135ca463992244ae91512854c7da7004de48f72e
Diffstat (limited to 'src/desktop.c')
-rw-r--r--src/desktop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/desktop.c b/src/desktop.c
index 28ef52b..bc1e33f 100644
--- a/src/desktop.c
+++ b/src/desktop.c
@@ -449,8 +449,10 @@ ivi_shell_destroy(struct wl_listener *listener, void *data)
struct ivi_compositor *ivi = container_of(listener,
struct ivi_compositor, destroy_listener);
- weston_desktop_destroy(ivi->desktop);
+ ivi_shell_finalize(ivi);
ivi_compositor_destroy_pending_surfaces(ivi);
+
+ weston_desktop_destroy(ivi->desktop);
wl_list_remove(&listener->link);
}