forked from enlightenment/efl
env obj - fixx implementation to use a shared object
so this chnage totally threww away all the thread safety and locking without doing the simple thing of using a shared obcj for the global env obj to ensure brute force safety at least. fix.
This commit is contained in:
parent
0fba6c89a1
commit
9d65e64c00
|
@ -135,7 +135,9 @@ _efl_core_proc_env_self(void)
|
|||
{
|
||||
if (!env)
|
||||
{
|
||||
efl_domain_current_push(EFL_ID_DOMAIN_SHARED);
|
||||
env = efl_add_ref(EFL_CORE_PROC_ENV_CLASS, NULL);
|
||||
efl_domain_current_pop();
|
||||
efl_wref_add(env, &env);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue