ivi-shell: Remove the compositor destory listener from list during de-init
authorHarsha M M <harsha.manjulamallikarjun@in.bosch.com>
Tue, 7 Aug 2018 13:35:03 +0000 (19:05 +0530)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 10 Aug 2018 10:23:14 +0000 (13:23 +0300)
commit46cbd0a7f5271cd0832e6d8687829844f40f89cd
tree7a71a49d9401128fd95f1a5a845431189b9d2b67
parentb8b2c72709a16382fe7a75a3476236bd31c0e54c
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 M M <harsha.manjulamallikarjun@in.bosch.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
ivi-shell/ivi-shell.c