| # | Line 85 | Line 85 | quit( /* quit program */ | |
|---|---|---|
| 85 | if (ray_pnprocs < 0) | |
| 86 | _exit(code); /* avoid flush in child */ | |
| 87 | ||
| 88 | < | int ec = myRTmanager.Cleanup(); |
| 89 | < | |
| 90 | < | if (ec) code = ec; |
| 88 | > | if (ray_pnprocs > 1) |
| 89 | > | myRTmanager.SetThreadCount(1); |
| 90 | ||
| 91 | exit(code); | |
| 92 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |