summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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