eo/eina: Add HACK to avoid calls to EO after shutdown
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 15 Dec 2017 08:44:28 +0000 (17:44 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
commitb0be69999be761f6619cf4ca91b87fed62af3153
tree595123832567933c28cd61168cfe1abf11587d96
parent9d070435a0ea5ba0f0a9f17b51945959732b79cb
eo/eina: Add HACK to avoid calls to EO after shutdown

Efl.Future is an EO object which means even cancelling Efl.Future
objects requires EO. So this should be done before shutting down EO,
otherwise everything fails badly.

I believe Efl.Future is going to disappear soon, but the problem will
remain: if any promise/future uses EO or anything else outside of Eina
(so, basically anything) then it needs to be canceled before shutting
down the above layers. This is the same situation as with ecore events,
for which we've introduced ecore_event_type_flush.

Ping @cedric
src/lib/eina/eina_promise.c
src/lib/eina/eina_promise.h
src/lib/eo/efl_future.c