From e4226be8727e4f8e19292b6d1d19a9ba2bcdd58d Mon Sep 17 00:00:00 2001 From: duerpei Date: Thu, 17 Mar 2022 13:13:37 +0800 Subject: [PATCH] Remove the listener in the end of ivi_shell_destroy() Bug-AGL: SPEC-4291 Signed-off-by: duerpei Change-Id: Ieaa78e59365c8749754117cf2587b4c72e1f1f31 --- src/desktop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/desktop.c b/src/desktop.c index 74ce916..f3763de 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -444,6 +444,7 @@ ivi_shell_destroy(struct wl_listener *listener, void *data) weston_desktop_destroy(ivi->desktop); ivi_compositor_destroy_pending_surfaces(ivi); + wl_list_remove(&listener->link); } int -- 2.16.6