Edit comments

This commit is contained in:
Mario Hüttel 2019-11-15 21:06:41 +01:00
parent 0417784877
commit fa1a78e54c
1 changed files with 2 additions and 0 deletions

View File

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