From: duerpei Date: Thu, 17 Mar 2022 05:13:37 +0000 (+0800) Subject: Remove the listener in the end of ivi_shell_destroy() X-Git-Tag: 13.93.0~29 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e4226be8727e4f8e19292b6d1d19a9ba2bcdd58d;p=src%2Fagl-compositor.git Remove the listener in the end of ivi_shell_destroy() Bug-AGL: SPEC-4291 Signed-off-by: duerpei Change-Id: Ieaa78e59365c8749754117cf2587b4c72e1f1f31 --- 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