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);