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
This commit is contained in:
Mike Blumenkrantz 2018-06-13 10:09:32 -04:00
parent 2fe27e5780
commit bbf60946e3
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}