From fa1a78e54c37fbd2131e6185105520ca7993e333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Fri, 15 Nov 2019 21:06:41 +0100 Subject: [PATCH] Edit comments --- output-renderers/external-renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/output-renderers/external-renderer.c b/output-renderers/external-renderer.c index 46b96cd..6ec1071 100644 --- a/output-renderers/external-renderer.c +++ b/output-renderers/external-renderer.c @@ -127,9 +127,11 @@ static int external_renderer_render_cell(struct gds_cell *toplevel_cell, GList * if (!ret) ret = so_render_func(toplevel_cell, layer_info_list, output_file, scale); + /* If we are in a separate process, terminate here */ if (forking_req) exit(ret); + /* The forked paths end here */ end_forked: if (forking_req) { waitpid(fork_pid, &forked_status, 0);