Skip to content

Commit

Permalink
core: init cfg framework before executing event_route[core:worker-one…
Browse files Browse the repository at this point in the history
…-init]

(cherry picked from commit a4b6a5c)
(cherry picked from commit e178b8c)
  • Loading branch information
miconda committed Apr 3, 2019
1 parent 4d8dd58 commit e01a1b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/action.c
Expand Up @@ -1658,6 +1658,9 @@ int run_child_one_init_route(void)
rt = route_get(&event_rt, "core:worker-one-init");
if(rt>=0 && event_rt.rlist[rt]!=NULL) {
LM_DBG("executing event_route[core:worker-one-init] (%d)\n", rt);
if (cfg_child_init()) {
return -1;
}
if(faked_msg_init()<0)
return -1;
fmsg = faked_msg_next();
Expand Down

0 comments on commit e01a1b7

Please sign in to comment.