Commit 46cbd0a7 authored by Harsha Manjula Mallikarjun's avatar Harsha Manjula Mallikarjun Committed by Pekka Paalanen
Browse files

ivi-shell: Remove the compositor destory listener from list during de-init



During de-init ensure removal of compositor destroy notification
from list. Otherwise a dongling pointer is left behind which will
affect other plugins.
Signed-off-by: Harsha Manjula Mallikarjun's avatarHarsha M M <harsha.manjulamallikarjun@in.bosch.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent b8b2c727
......@@ -358,6 +358,8 @@ shell_destroy(struct wl_listener *listener, void *data)
container_of(listener, struct ivi_shell, destroy_listener);
struct ivi_shell_surface *ivisurf, *next;
wl_list_remove(&shell->destroy_listener.link);
text_backend_destroy(shell->text_backend);
input_panel_destroy(shell);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment