elm_external: shutdown elm after del callback
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 29 Jul 2015 13:13:07 +0000 (22:13 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 29 Jul 2015 13:23:19 +0000 (22:23 +0900)
commitc665493038fcc2fb672ac4918af971e77b5d7e05
tree39db0fb49fbf3ac6a1301b15bdfa2f40453808e3
parentf638f79b66db474913d58d823c2efe91fc9fef29
elm_external: shutdown elm after del callback

This fixes a crash in edje_inspector as:
- delete callback is called on the object
 --> this unloaded elm
- destructor is called on the object
 --> this did some elm stuff, in particular read the config
     from _elm_config (now NULL).

Instead, shutdown elm after del, during free.

Also reset hash pointer to NULL after free.
src/edje_externals/elm.c
src/lib/elm_config.c