Skip to content
Snippets Groups Projects
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: default avatarHarsha M M <harsha.manjulamallikarjun@in.bosch.com>
Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent b8b2c727
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment