otherwise we are leaking a eina list.
This was discovered while running the elm_suite with CK_FORK=no, since
ecore and eina are init´ed and shutdown´ed, after the shutdown this list
points to freeed memory pools. So in the next testcase the list is
invalid and crashes. This fixes it with freeing the list on shutdown.
void
_ecore_main_shutdown(void)
{
+ Efl_Future *future;
+
if (in_main_loop)
{
ERR("\n"
"*** Program may crash or behave strangely now.");
return;
}
+
+ EINA_LIST_FREE(_pending_futures, future)
+ efl_del(future);
+
while (fd_handlers)
{
Ecore_Fd_Handler *fdh;