summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorduerpei <duep.fnst@fujitsu.com>2022-03-17 13:13:37 +0800
committerduerpei <duep.fnst@fujitsu.com>2022-03-17 13:13:37 +0800
commite4226be8727e4f8e19292b6d1d19a9ba2bcdd58d (patch)
tree6ff9dba2f1328bd22cd1624da5084486460a12a1
parent70d8d26d8ed27f25689bf75bdb3da320d418c38a (diff)
Remove the listener in the end of ivi_shell_destroy()
Bug-AGL: SPEC-4291 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ieaa78e59365c8749754117cf2587b4c72e1f1f31
-rw-r--r--src/desktop.c1
1 files changed, 1 insertions, 0 deletions
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