From 11e918e1bb8cd1fce4ead00cc532669618b539ba Mon Sep 17 00:00:00 2001 From: AntonyA Date: Mon, 5 Mar 2018 16:23:59 +0800 Subject: [PATCH] app_python: call PyOS_AfterFork() in child --- src/modules/app_python/app_python_mod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/app_python/app_python_mod.c b/src/modules/app_python/app_python_mod.c index 98738ee66c3..3f5463bd0a7 100644 --- a/src/modules/app_python/app_python_mod.c +++ b/src/modules/app_python/app_python_mod.c @@ -175,6 +175,7 @@ static int mod_init(void) static int child_init(int rank) { _apy_process_rank = rank; + PyOS_AfterFork(); return apy_init_script(rank); }