ecore: call eina_debug_fork_reset() in fork reset function

Summary:
ensure that this occurs as expected when forks happen

note that this is already being actively tested in the elm unit tests

Depends on D6307

Reviewers: ManMower, devilhorns

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6308
This commit is contained in:
Mike Blumenkrantz 2018-06-19 13:54:16 -04:00
parent 1de5c251d1
commit 83124559cc
1 changed files with 2 additions and 0 deletions

View File

@ -563,6 +563,8 @@ ecore_fork_reset(void)
Eina_List *l, *ln;
Ecore_Fork_Cb *fcb;
eina_debug_fork_reset();
eina_main_loop_define();
eina_lock_take(&_thread_safety);