commit 4eb89e723fcc79de51a88ad889495407db9300bb
parent 5e0ff70928f91656c7c5ced0317426c8e7e30070
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 13 Oct 2026 00:13:08 +0200
more zombie fixes
Diffstat:
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/json/conversion.c b/src/json/conversion.c
@@ -387,9 +387,20 @@ TALER_JSON_external_conversion_stop (
}
if (NULL != ec->helper)
{
- GNUNET_break (GNUNET_OK ==
- GNUNET_process_kill (ec->helper,
- SIGKILL));
+ if (GNUNET_OK ==
+ GNUNET_process_kill (ec->helper,
+ SIGKILL))
+ {
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_process_wait (ec->helper,
+ true,
+ NULL,
+ NULL));
+ }
+ else
+ {
+ GNUNET_break (0);
+ }
GNUNET_process_destroy (ec->helper);
ec->helper = NULL;
}