eina: fix shutdown
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 24 Oct 2016 19:13:39 +0000 (21:13 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 24 Oct 2016 19:42:28 +0000 (21:42 +0200)
in eina_file we are using eina_hash, eina_hash is using eina_rbtree, so
we should ensure that rbtree is shutted down AFTER file is shutted down.

fix T4753

src/lib/eina/eina_main.c

index 7238002..118b340 100644 (file)
@@ -145,7 +145,6 @@ EAPI Eina_Inlist *_eina_tracking = NULL;
    S(ustrbuf);
    S(quadtree);
    S(simple_xml);
-   S(file);
    S(prefix);
    S(value);
    S(tmpstr);
@@ -154,6 +153,7 @@ EAPI Eina_Inlist *_eina_tracking = NULL;
    S(cpu);
    S(thread_queue);
    S(rbtree);
+   S(file);
    S(safepointer);
    S(promise);
 /* no model for now
@@ -194,7 +194,6 @@ static const struct eina_desc_setup _eina_desc_setup[] = {
    S(ustrbuf),
    S(quadtree),
    S(simple_xml),
-   S(file),
    S(prefix),
    S(value),
    S(tmpstr),
@@ -203,6 +202,7 @@ static const struct eina_desc_setup _eina_desc_setup[] = {
    S(cpu),
    S(thread_queue),
    S(rbtree),
+   S(file),
    S(safepointer),
    S(promise)
 /* no model for now