discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d886b18fc3c836028043eada0dc1dd1e4c00f152
commit d886b18fc3c836028043eada0dc1dd1e4c00f152 Author: Mike Blumenkrantz <[email protected]> Date: Fri Jun 15 16:42:29 2018 -0400 eina: call eina_threads_init from eina_debug_init eina is guaranteed to crash in any process without this call now that eina_debug exists and requires threads @fix Differential Revision: https://phab.enlightenment.org/D6302 --- src/lib/eina/eina_debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c index 4ffb8d1985..e0b8419f57 100644 --- a/src/lib/eina/eina_debug.c +++ b/src/lib/eina/eina_debug.c @@ -711,6 +711,7 @@ eina_debug_init(void) } // mark as initted _inited = EINA_TRUE; + eina_threads_init(); // For Windows support GetModuleFileName can be used // set up thread things eina_spinlock_new(&_eina_debug_lock); @@ -745,5 +746,6 @@ eina_debug_shutdown(void) // yes - we never free on shutdown - this is because the monitor thread // never exits. this is not a leak - we intend to never free up any // resources here because they are allocated once only ever. + eina_threads_shutdown(); return EINA_TRUE; } --
