# | Line 92 | Line 92 | quit( /* quit program */ | |
---|---|---|
92 | { | |
93 | if (ray_pnprocs > 0) /* close children if any */ | |
94 | ray_pclose(0); | |
95 | + | else if (ray_pnprocs < 0) |
96 | + | _exit(code); /* avoid flush() in child */ |
97 | #ifndef NON_POSIX | |
98 | < | else if (!ray_pnprocs) { |
98 | > | else { |
99 | headclean(); /* delete header file */ | |
100 | pfclean(); /* clean up persist files */ | |
101 | } | |
# | Line 164 | Line 166 | rtrace( /* trace rays from file */ | |
166 | if (nproc > 1) { /* start multiprocessing */ | |
167 | ray_popen(nproc); | |
168 | ray_fifo_out = printvals; | |
167 | – | ray_pnbatch = !nextflush; |
169 | } | |
170 | if (hresolu > 0) { | |
171 | if (vresolu > 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |