From bbf60946e32108463e509ba46d57d6ac9d117c80 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 13 Jun 2018 10:09:32 -0400 Subject: [PATCH] eo: call efl_object_class_get() during efl_object_init() Summary: ensure that this is always called for the first time from the main thread to avoid triggering asserts during shutdown ref T7003 Reviewers: bu5hm4n, devilhorns Reviewed By: bu5hm4n Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7003 Differential Revision: https://phab.enlightenment.org/D6272 --- src/lib/eo/eo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 1ba72614f1..91e1730047 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -2314,6 +2314,8 @@ efl_object_init(void) /* bootstrap EFL_CLASS_CLASS */ (void) EFL_CLASS_CLASS; + /* bootstrap EFL_OBJECT_CLASS */ + (void) EFL_OBJECT_CLASS; return EINA_TRUE; }